[thelist] JS, counting selected checkboxes

jeff jeff at members.evolt.org
Tue Jan 23 01:06:31 CST 2001


matt,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Warden, Matt
:
: Oh, so you're were saying to put this as
: the onClick event for the checkbox? I guess
: that would be the way to do it.  Brilliant!
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

yes, that's exactly where it goes.  there isn't any other event handler on
the checkbox that would allow instant feedback.  i suppose you could just
count them up on the submission of the form, holler at the user to reduce
their number of choices, and then halt the form submission.  i just figured
that immediate feedback was better.

thanks,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:jeff at members.evolt.org





More information about the thelist mailing list