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
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
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 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
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:
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
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.
7 matches
Mail list logo