Thanks, Ricardo. I'll give that a look.
On Jan 30, 12:31 pm, Ricardo Tomasi <ricardob...@gmail.com> wrote: > jQuery will remove all event handlers on unload to avoid memory leaks. > > You should consider event delegation, see the docs for > live():http://docs.jquery.com/Events/live > It will speed up your loading/unloading times considerably. > > cheers, > - ricardo > > On Jan 30, 2:58 pm, dberthia <dave.berthia...@gmail.com> wrote: > > > I've got a jQuery 1.2.6 script that attaches a click handler to every > > hyperlink on a page. We have a small number of pages where the number > > of link are massive (5000+, and yes I know this is ridiculous). On > > these pages, when I try to navigate AWAY from them, Firefox will be > > unresponsive for a couple of minutes. I've determined the length of > > the delay is directly proportional to the number of my click handlers. > > I've tried 1.3.1, but have gotten only marginally better results. I > > don't see the issue in IE or Safari. Any ideas? > > > I've tried doing a manual unbind on the links in window.onunload, to > > no avail. > > > - Dave