homepage Welcome to WebmasterWorld Guest from 23.20.149.27
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Java Script code Question
Brett_Tabke




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

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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved