At 4:46 PM -0700 1/16/03, LuKreme wrote:
>A long time ago, 2-3, maybe 4 years ago, someone posted a neat little Javascipt hack 
>that would select all the checkboxes on the screen.
>
>I can't find this script in the archives.
>
>Does anyone have it?

Yup.

===
javascript:var theform = window.frames[1].document.forms[0];
var counter = 0;
while (theform.elements[counter]) {
if (theform.elements[counter].type == 'checkbox')
theform.elements[counter].checked = true;
counter++;
}
return false;
===

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[EMAIL PROTECTED]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to