[thelist] JS, counting selected checkboxes

Winfried Huslik winfried at huslik.de
Sun Jan 21 12:44:31 CST 2001


go to psa-training.de/checkup for an example!

Winfried Huslik


On 2001-01-21 16:31 Uhr, aardvark (roselli at earthlink.net) wrote:

>
>i'm trying to find some JS that, on form submit or on selection of 
>the 10th item, will notify the user that he/she has gone beyond the 
>limit...
>
>i have a screen with a boatload of checkboxes, depending on some 
>user prefs, but the user can only select nine items... right now the 
>server-side script handles it, but i've found that the users get mired 
>down when the page redraws (even with all the checkboxes 
>selected and a warning about the nine items), so for those who can 
>support it, i'd like a little JS alert to warn them that they are going 
>over the nine item limit...
>
>make sense?
>
>tried a few sites, can't find anything... i generally suck with this 
>kind of stuff anyway...
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list