Monday, April 25, 2011

How to get checkboxes values in jQuery

 if ($('#YourID').is(':checked')) {
            //Do something
        }




Reference:
:checked Selector
http://api.jquery.com/checked-selector/

No comments:

Post a Comment