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's considered reasonable.

The good news is that this code works great in all browsers (well, IE
is a little slow, but that's IE for you) until I try to close the
tab.  Most of the browsers close very quickly, but Firefox can take up
to 20-30 seconds to close the tab.  I've traced the issue to the
jQuery event cleanup code.

Does anyone know why the event cleanup code is so slow on Firefox, but
not other browsers?

Reply via email to