Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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);
})
}
);
Posted
Comments
Mahesh Bailwal 30-Aug-13 6:46am    
Why you are still using IE6, it’s quite out dated browser. You should better update your browser.
Poonamchand Soni 30-Aug-13 6:55am    
just doing testing in each browser to check the comptability...
Application must be comptaible in each browser
Maarten Kools 30-Aug-13 10:37am    
Unless most of your visitors are Chinese, don't bother[^]. Better yet, even if they are, don't bother. IE6 was released 12 years ago, and is seriously outdated.

1 solution

Check about the specifications of the version of jQuery; if that version is really supporting IE6 or not. In past there were some controls of jQuery which were not based on the latest versions of jQuery and were not compatible with the latest versions of the browser.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900