-
Recent Posts
Common Tags
Andrea Andrew Antarctica Backups bailout Calvin Catholic Chief childhood CLI Database Dominic Family Health Care Hiking humility JQuery Kids Marie Molly Moodle MSSQL MySQL Nate NeedHeaderImage Noah Notre Dame Obama Object Oriented ODBC Oracle Patrick PHP Politics Programming Quote Remote Desktop Security Sharon Snow SQL Tip Travel Weight Loss WindowsCategories
Meta
Tag Archives: JQuery
Handling checkboxes in JQuery
Some quick notes on handling checkboxes (and probably radio buttons, but I haven’t tested that) in JQuery.
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’);