I have a table with a "select all" checkbox as the first header column and some simple code to select all checkboxes on the page when the header checkbox is clicked.
$('#CheckAll').bind('click',function() {
var checked = $(this).attr('checked');
$('input').attr('checked', checked);
});
the code runs fine, but as soon as I bind tablesorter to the table the click event on #CheckAll no longer seems to fire:
$('#ResultsTable').tablesorter( headers: { 0: { sorter: false} });
Any ideas? Thanks!