Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: incrediBILL

Message Too Old, No Replies

Java Script code Question

     

Brett_Tabke

10:32 pm on Oct 4, 2000 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



A question for the Netscape JavaScript programmers. In the new StickyMail local email program, why does my java script 'select all' checkboxes work for Opera 3/4 and IE 4/5, but not netscape?

<SCRIPT LANGUAGE="JavaScript" DEFER>
function CheckAll() {
var l = StickyList.elements.length;
for (i = 0; i < l; i++) {
var e = StickyList.elements[i];
if (e.name == "ser") {
e.checked = StickyList.selectallbox.checked;
}
}
}
</SCRIPT>

Then the form line that causes action:
<input name="selectallbox" type="checkbox" value="Check All" onClick="CheckAll();">Select All

All the check boxes have "ser" as the name.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month