I have an HTML page with multiple checkboxes.
I need one more checkbox by the name \"select all\". When I select this checkbox all checkboxes in the HTML page must b
to make it in short-hand version by using jQuery
The select all checkbox
The children checkbox
jQuery
$("#chkSelectAll").on('click', function(){ this.checked ? $(".chkDel").prop("checked",true) : $(".chkDel").prop("checked",false); })