How to checkbox checked using jQuery

The jQuery prop() method provides an simple and reliable way to track down the status of checkboxes. It works well in all condition because every checkbox has checked property which specifies its checked or unchecked status. You may also like How to Checkbox value 0 or 1 using jquery and Update Content After Certain Time using jQuery,Ajax and PHP

Code

$('.Result').prop('checked', true);
$('.Result').prop('checked', false);

Leave a Reply

Your email address will not be published. Required fields are marked *