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
Use this...
$('#selectall').on('click', function() { $('.selectedId').attr('checked', $(this).is(":checked")); });
An see this DEMO