Home > Article > Web Front-end > 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]