I am trying to select all checkboxes on a page once the \'select all\' checkbox is clicked and i am using jquery for this as you can see at the below link:
http://js
$(document).ready(function () { $('#selectall').click(function () { $('.selectedId').prop('checked', $(this).is(":checked")); }); }); more Optimized