jQuery 1.4.4 selector problem in IE8
Hi,
I have 18 check boxes (all checked) on a page, with one of them disabled, based data bound values. I have a few examples of IE8 not responding like FF, with FF giving the desired results.
- $('input[onclick="chkClick();"]:not(:disabled)').size() works in FF, but not in IE8. FF returns 17 check boxes, IE8 returns 0.
- $('input:checkbox(:disabled)').size() returns 18 in IE8, when only one is disabled. FF returns 1, as it should.
- $('input[onclick="chkClick();"]:checked').size() returns 17 in FF and 0 in IE8
From my perspective, as someone new to jQuery and JavaScript, something is wrong. If I wrote the commands wrong, please let me know how they should be written.
Thanks.