Handling checkboxes in JQuery

Some quick notes on handling checkboxes (and probably radio buttons, but I haven't tested that).
Author: Nate Baxley
Published Date:2/14/2008
To find a count of all checked items with the class Testbox.
$(".Testbox:checked").size()

To test an individual item with the ID Testbox1 use this:
$('#Testbox1').is(':checked');
RSS Feed Log In to access RSS feeds.


Remember me on this computer

This Item Tagged as


Hover over an item above for
more information