Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

toggle checkbox jquery

$("#chkAll").on("click",function(){
    $("input[name=checkBoxName]").prop("checked",$(this).prop("checked"));
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #toggle #checkbox #jquery
ADD COMMENT
Topic
Name
5+2 =