Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Java Script code Question

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

Administrator from US 

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

joined:Sept 21, 1999
votes: 11

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?

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;

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.