Return to Snippet

Revision: 17139
at August 24, 2009 18:06 by radarseven


Initial Code
// First way 
$('#checkBox').attr('checked'); 

// Second way 
$('#edit-checkbox-id').is(':checked'); 

// Third way 
$("input[@type=checkbox][@checked]").each(
    function() {
       // Insert code here 
    }
);
Returns true or false.

Initial URL

                                

Initial Description

                                

Initial Title
jQuery Checkboxes Again

Initial Tags
textmate, jquery

Initial Language
Other