JavaScript: Select All Checkboxes

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38224
interpreted = N
texte = I found the following code below that will select or deselect all checkboxes. It works great if all of your checkboxes have the same name. BUT MINE DON'T.My checkboxes are in a [founditems] loop, and each has a name like item_1, item_2, etc.Anyone care to take a stab at this one? ============ BEGIN CODE SNIPPET =============
Your Favorite Scripts & Languages
Java
Javascript
Active Server Pages
HTML
SQL

============ END CODE SNIPPET =============-- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: JavaScript: Select All Checkboxes (Clint Davis 2001)
  2. Re: JavaScript: Select All Checkboxes (David Anderson 2001)
  3. JavaScript: Select All Checkboxes (Clint Davis 2001)
I found the following code below that will select or deselect all checkboxes. It works great if all of your checkboxes have the same name. BUT MINE DON'T.My checkboxes are in a [founditems] loop, and each has a name like item_1, item_2, etc.Anyone care to take a stab at this one? ============ BEGIN CODE SNIPPET =============
Your Favorite Scripts & Languages
Java
Javascript
Active Server Pages
HTML
SQL

============ END CODE SNIPPET =============-- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Clint Davis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Bug Report, maybe (1997) WebCat2 - Getting to the browser's username/password data (1997) [referrer] -truncates at & (1998) Merging databases (1997) If then confusion (2004) [Fwd: F3 database munching] (1997) Date search bug (1998) Mixed databases (1998) PayPal WebMerchant Templates (2006) problem serving foreign languages text (1997) Alternating colors (1997) How true is this? (1999) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Textarea (1998) OT: Google (2002) Shipcost formula (2004) Error 11 (1996) E-Mailer (WebCatb15acgiMac) (1997) Using Cookie for client specific info? (1997)