Re: JavaScript: Select All Checkboxes

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38227
interpreted = N
texte = I ended up solving it myself using the following code.============ BEGIN CODE SNIPPET ============= [search db=quote.db&neSKUdata=[blank]] [text]TheLoop=[numfound][/text] [/search]
(Check boxes appear here)
============ END CODE SNIPPET =============>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
> >onClick=checkAll(document.myform.list)> >onClick=uncheckAll(document.myform.list)> >
>
>============ END CODE SNIPPET ============= > >-- >_______________________ > >Clint Davis >Webmaster >Gray Loon Marketing Group >812.422.9999 > >cdavis@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 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 ended up solving it myself using the following code.============ BEGIN CODE SNIPPET ============= [search db=quote.db&neSKUdata=[blank]] [text]TheLoop=[numfound][/text] [/search]
(Check boxes appear here)
============ END CODE SNIPPET =============>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
> >onClick=checkAll(document.myform.list)> >onClick=uncheckAll(document.myform.list)> >
>
>============ END CODE SNIPPET ============= > >-- >_______________________ > >Clint Davis >Webmaster >Gray Loon Marketing Group >812.422.9999 > >cdavis@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 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:

Help! WebCat2 bug (1997) Secure Server basic question... (1997) Showif, Hideif reverse logic ? (1997) [WC 2.1.30] Stack overflow. (2000) looping table rows (1999) Help! (2000) About WebDNA (2006) find with exceptions (1997) & Aftermath (1999) math on date? (1997) retain raw [cart] submitted value (2004) [WebDNA] Valid input from a post search form (2013) Credit Card Number checking (1997) WebCatalog for guestbook ? (1997) MATH TIME (1997) More Shopping Cart Problems (2000) taxTotal (1997) WebCat2 beta 11 - new prefs ... (1997) WCS Newbie question (1997) WebCat for Unix?? (1997)