Hi,
I have a popup window which contains a form which the user can to set/update his preferences(This has a submit button). Now if he tries to close the popup window without submitting the form, I have a confirm box which asks him whether he wants to close the window. So the popup window should remain open until the user confirms it to be closed. I thought "onUnload" property will do, but that property seems to be used only after unloading of the window, not just prior to it. It is too late by then.
Someone sugested "onbeforeUnload" but it works in IE not in netscape. Can someone help me out?
Thaks,
Shaji B