Re: Automatically checking checboxes with JS

by "Martin Clifford" <MLC1(at)nrc.gov>

 Date:  Thu, 09 May 2002 11:57:01 -0400
 To:  <r.bhaskar(at)compserv.gla.ac.uk>,
<hwg-basics(at)hwg.org>,
<raj(at)lordofthemoon.com>
  todo: View Thread, Original
Use a for statement to cycle through the checkboxes in the form, setting =
each one to true as you go.

>>> raj(at)lordofthemoon.com 05/09/02 11:10AM >>>
Hi folks,
I want to be able check a whole load of checkboxes (all with the same =
name) by pressing a button=20
in JS.  I know that such a thing is possible (since Hotmail does this if =
you click the 'from' checkbox=20
above the list of addresses) but I've got no idea how you would go about =
starting.  Any ideas?

TIA,
Raj.
PS: please cc me directly since I'm on the digest.
--=20
Rajnish Bhaskar, r.bhaskar(at)compserv.gla.ac.uk=20
http://lordofthemoon.com=20

HTML Guild: hwg-basics mailing list archives, maintained by Web Professionals @ IWA