Implementing following jQuery for selecting all checkbox,but it is not working in IE6 browser.
$(document).ready(
function(){
$('#chkSelectAll').click(
function(){
$('input:checkbox:not(:disabled)').not('#chkSelectAll').click(
function()
{
if($('input:checkbox:not(:disabled, :checked)').not('#chkSelectAll').length == 0)
$('#chkSelectAll').attr('checked', true)
else
$('#chkSelectAll').attr('checked', false)
}
).attr('checked', this.checked);
})
}
);