RE: OT: javascript to keep a user from navigating away

2008-02-01 Thread Chad Gray
08 3:49 PM To: CF-Talk Subject: Re: OT: javascript to keep a user from navigating away > I would like to make javascript that when the window.onUnload is > fired to pop up a confirm() saying "hey if you leave now your form > information will not be saved. Do you wish to contin

Re: OT: javascript to keep a user from navigating away

2008-02-01 Thread s. isaac dealey
> I would like to make javascript that when the window.onUnload is > fired to pop up a confirm() saying "hey if you leave now your form > information will not be saved. Do you wish to continue?". But I think > once onUnload fires there is no stopping the user from leaving the > page. Can you canc

OT: javascript to keep a user from navigating away

2008-02-01 Thread Chad Gray
I would like to make javascript that when the window.onUnload is fired to pop up a confirm() saying "hey if you leave now your form information will not be saved. Do you wish to continue?". But I think once onUnload fires there is no stopping the user from leaving the page. Can you cancel o