<ad*****@ufcw.org> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hi,
I need to execute some code when form submission is stopped before the
page is returned from the server. For example, a user clicks a button
to submit the form, realizes they've made a mistake and then clicks
the
browser's stop button so they can make a change before submitting the
form. I need to trap the click on the stop button. I'm using IE 5.0.
Thanks.
Can't be done. Once the submit button is clicked and the browser begins
to submit the form, the existing page is torn down, including any script
on the page.
Clicking stop is undetectable at this point, because there is no
client-side script executing to trap the event, even if it could be
trapped, which it can't.
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ -
http://jibbering.com/faq