That is correct, the "unload" event is what you're looking for, here
is a compatibility chart for event types, looks like the unload event
is supported by everyone but opera.

http://www.quirksmode.org/js/events_compinfo.html

On Aug 19, 4:47 am, CDUDE <[EMAIL PROTECTED]> wrote:
> this, or observe the body element and let the even bubble up
>
> On Aug 18, 8:14 am, Clemens <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > maybe observing the unload event of the window object is what you
> > need.
>
> > Greetings,
> > Clemens
>
> > zeno schrieb:
>
> > > Is there a simple way of being notified as soon a new page starts
> > > loading (as soon as the user clicks on a link for example, or submits
> > > a form) without having to manually observe click events for all the
> > > links in that page?
>
> > > (I'm talking about normal links, NOT about links that fire Ajax
> > > requests)
>
> > > thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to