Home >Web Front-end >JS Tutorial >Simple Jquery select all function_jquery
Record the simplest Jquery code for selecting all functions.
[code
]$(function(){
$("#chkAll").click(function(){
$("input:checkbox").attr("checked", $(this).attr("checked"));
});
});
[/code]