Jquery Code to check all check boxesReason for Celebrity Famous on the internet
Committed a crime
Dates a super model
Hosts a TV show
Big in Japan
Check all
$('.check-all:checkbox').change(function() { var group = ':checkbox[name=' + $(this).attr('name') + ']'; $(group).attr('checked', $(this).attr('checked')); });
No comments:
Post a Comment