PDA

Click to See Complete Forum and Search --> : OnBeforeUnload event


Indu
Mar 2nd, 2001, 11:36 AM
When I am trying to unload the page, the pop window should appear as a
reminder to remind
to save the changes. After that, clicking ok, its unloading the page to
other link where I clicked rather.
Actually, we need to come to the same page where we want to save. How to do
that.
I am able to pop the window and when I click ok, i am going to the other
links by using UNLOAD function.
TO avoid to go the other links when I click the ok button,
I have used OnBeforeUnload, which worked fine, but the pop up window appears, though I saved all the data in that page. In other words, it appears whenever I try to unload the page.

Please, help me

thanks
Indu

buster1000
Mar 2nd, 2001, 12:10 PM
I don't know if that's what you want to hear, but if you are using HTML coding, you should be creating a form and on the event: "OnSubmit" of that form, you should write the name of the page that you want to link two, if you want to stay on the same page, you just write the name of that page.

Hope that helped you man...