Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to checkedbox jquery

//jQuery 1.6+ use
$('.checkbox').prop('checked', true);
//jQuery 1.5.x and below use
$('.checkbox').attr('checked', true);

$("#checkboxid").prop('checked', true);  // Checks the box
$("#checkboxid").prop('checked', false);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checkedbox #jquery
ADD COMMENT
Topic
Name
9+7 =