[jQuery] Re: Event Cleanup Slowness in Firefox

2009-03-26 Thread J K
gt; > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Mar 26, 2009, at 11:45 AM, J K wrote: > > > > > I have a 65x65 HTML table, giving me 4225 table cells.  I am using > > jQuery to make each cell clickable with the following code: > > &g

[jQuery] Re: Slow jQuery Event Cleanup in Firefox

2009-03-26 Thread J K
art-1http://www.learningjquery.com/2008/05/working-with-events-part-2 > > On Mar 26, 1:20 pm, "Matt W." wrote: > > > You might want to try adding one click to the table and checking if > > the target was a td. > > > On Mar 26, 7:13 am, J K wrote: > > > > Let m

[jQuery] Event Cleanup Slowness in Firefox

2009-03-26 Thread J K
I have a 65x65 HTML table, giving me 4225 table cells. I am using jQuery to make each cell clickable with the following code: $('td').click(function () { // do stuff }); I realize this is a lot of events and that this is likely well outside the realm of what'

[jQuery] Slow jQuery Event Cleanup in Firefox

2009-03-26 Thread J K
Let me start by saying that I am doing something rather unorthodox with jQuery, and I realize that this is probably outside the realm of what is reasonable. I have a 65x65 HTML table, giving me 4225 TD cells. I am making each of them clickable with the following code: $('td').click(function ()