There's no set limit on the number of selectors you can use, but as you've
seen, selectors can take some time to run and eventually the browser will
time out.

There's really nothing more that can be said without seeing your code. Can
you post a link to the failing test page?

-Mike

> From: TJ
> 
> Hello,
> 
> I keep getting this Unresponsive Javascript error.  I will 
> admit I have a ton of selectors and code going on.  When I 
> use FireBug to debug that message, it stops somewhere within 
> the Sizzle CSS Selector part of jQuery.  Different spots and 
> at different iterations in my script.
> 
> I have tried going back to jQuery 1.2.6 too, I saw some 
> people said that helped and using the full (uncompressed) 
> version too.  Neither worked for me.
> 
> Soon after the warning message, if you click continue, it 
> loads the rest of the javascript and the page.  It seems like 
> I may have just a few too many selector calls?  When I 
> comment out about 20 lines I don't get the message, but I 
> need those 20 lines.
> 
> Does jQuery have a limit to how many selections it can do within the $
> (document).ready(function() { ?

Reply via email to