[jQuery] Re: unload garbage collection 1.3.2 patch

2009-04-08 Thread Ralph Whitbeck
docyes, Either submit a bug and add the patch to it or post this to the jquery-dev group. Thanks, Ralph On Wed, Apr 8, 2009 at 3:35 PM, docyes wrote: > > Typo: > >Garbage cleanup is not assigned to an anonymous function. > > On Apr 8, 12:28 pm, docyes wrote: > > ISSUE: > > Garbage cleanup is

[jQuery] Re: unload garbage collection 1.3.2 patch

2009-04-08 Thread docyes
Typo: >Garbage cleanup is not assigned to an anonymous function. wrote: > ISSUE: > Garbage cleanup is not assigned to an anonymous function. Sometimes > unonload is used by other logic that may need jQuery to perform > certain tasks. The ability to unbind/bind the garbage collection > routine is

[jQuery] Re: Unload issue with Firefox

2009-01-30 Thread dberthia
Thanks, Ricardo. I'll give that a look. On Jan 30, 12:31 pm, Ricardo Tomasi 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/unlo

[jQuery] Re: Unload issue with Firefox

2009-01-30 Thread Ricardo Tomasi
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 wrote: > I've got

[jQuery] Re: unload

2007-09-25 Thread Erik Beeson
That's the window.onbeforeunload event. Use it like this: window.onbeforeunload = function() { return "Unsaved changes will be lost."; }; You can't use regular jQuery event binding for onbeforeload. See her: http://dev.jquery.com/ticket/1365 --Erik On 9/25/07, Trans <[EMAIL PROTECTED]> wrote:

[jQuery] Re: unload

2007-09-25 Thread Trans
On Sep 24, 12:53 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Try $(window).unload(...). Works for me on firefox. I think these docs are > wrong:http://docs.jquery.com/Events/unload#fn Thanks. That worked for when the window changes or redirects. Is there anyway to detect a browser window be

[jQuery] Re: unload

2007-09-24 Thread Erik Beeson
Try $(window).unload(...). Works for me on firefox. I think these docs are wrong: http://docs.jquery.com/Events/unload#fn --Erik On 9/24/07, Trans <[EMAIL PROTECTED]> wrote: > > > I tried this: > > $(document).unload(function() { alert("Bye now!"); } ); > > But it doesn't seem to do anything.