Simulate onbeforeunload behavior on Netscape...
Posted on 2003-10-27
Hi, I am trying to find a way to simulate the behavior of onbeforeunload function in Netscape. I understand that Netscape does not support this function. I have a form that has user information, and when the user attempts to close the window, a confirm("Do you want to save changes"); window pops up. I can do this on IE using onbeforeunload, but on Netscape I cannot. Does anyone know a workaround?
Thank you, any comments are well appreciated.
Is there a way I can place an onclick event around the whole area of the close window button ? because the button always appears on top right most corner?