views:

550

answers:

3

Hello. I have very strange problem. Under some elusive circumstances I fail to apply any jQuery selector on my pages under IE. It's OK under Firefox though. jQuery function simply returns empty array.

Any suggestions?

Page is too complex to post it here. Practically any selector except #id -ones retur zero element array. jQuery version is 1.2.3

+3  A: 

What version(s) of IE is it failing under? Is it failing for a specific complex selector? I think we need an example.

Edit: Does the problem go away if you upgrade to 1.2.6? 1.2.6 is primarily a bug-fix release according to this page.

Failing that, the best way to find the problem is to create a minimum page that can reproduce the bug. Without that, it's just about impossible to troubleshoot.

Neall
+8  A: 

Standard troubleshooting rules apply: construct a small bit of code that recreates the problem.

I know it's a lot of work, but for really difficult/subtle problems, it's the only way to make any progress.

Jeff Atwood
+2  A: 

Try upgrading to jQuery 1.2.6, you should be on the latest release of jQuery if you are having problems first ensure you are on the latest and greatest.

RedWolves