开发者

IE6 and JQuery Selectors with Spaces

The following doesn't seem to work in IE6. However, it works with IE7+ and firefox. I think I have had a similar issue before where IE6 doesn't like spaces in JQuery selectors. However, I don't know how to re-write this so IE6 will accept it.

$('#other_stages :checkbox:not(#section_2_active, #co_t)').change();

I have also tried the following and it didn't work开发者_如何学编程 either:

$('#other_stages').find('input[type=checkbox]:not(#section_2_active,#co_t)').change();

Thanks all for any help


It works for me on IE6: http://jsbin.com/ekoli4/2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜