You could set a handler for the submit event, and a handler for
beforeunload event.  If the user has submitted set off a timeout, if
it doesn't activate the beforeunload event within the timeout, then
the user has cancelled the event.

--

http://positionabsolute.net

On Jan 22, 1:43 pm, disccomp <discc...@gmail.com> wrote:
> Is there a way to listen for the user cancellation of a form
> submission. IE they press ESC or click 'Stop' in the browser after
> having initiated submission?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to