[jQuery] Re: Unresponsive Javascript Error

2009-07-30 Thread TJ
I'm reading over your first technique again...the reason I have the unique array is because there may be .RCRBFilingType a few times, so the unique array discards the duplicates and then I can wrap .RCRBFilingType once with RCWrap. Would your way do that? I'm working with .NET...if that makes an

[jQuery] Re: Unresponsive Javascript Error

2009-07-30 Thread TJ
Thanks! I appreciate the time you spent on figuring out what was going on and giving me feedback. The last part, where you talk about getting elements by ID, might be kind of hard because the ID ends in Panel1 if it's textbox, Panel2 for radio buttons and Panel3 for checkboxes. RC is how I dist

[jQuery] Re: Unresponsive Javascript Error

2009-07-29 Thread Ricardo
Pardon the words, but that's a s***load of processing being done in your JS, and a huge DOM! Most of the class adding, appending and CSS should really be done server-side. Some tips to improve your script's efficiency: #1 You get all elements with class^=RC, then get their classnames one by one,

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread TJ
This error message occurs on slower computers...I haven't had it happen on my 2 home computers. But I see that there is a potential problem for a number of people. On Jul 28, 6:12 pm, TJ wrote: > Thank you for your quick response. > > Here is a link to the page in question:  http://docfiller.

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread TJ
Thank you for your quick response. Here is a link to the page in question: http://docfiller.com/process.aspx The error when using the jQuery min file is line 19 and when using the full jQuery (uncompressed) file, it is around 1988 - 2040, it varies. It also varies on what iteration in processin

[jQuery] Re: Unresponsive Javascript Error

2009-07-28 Thread Michael Geary
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 >