onunload in <Body> Not working
Please look at the simple html below:
The function defined in the onunload will not do the alert on my IE Exp. Browser, but will work on another PC's IE Exp. Browser.
How can this be.
any help would be appreciated.
alert("Test UN Found");
I'm running IE 6 on XP and using that code, it doesn't work when I close the window, but if you create a link on the page, and click the link, you will get the pop-up.
I'm not sure if that helps, but if you're looking for a pop-up when the user closes the window, I'm sorry, but I can't help there... but I'm sure someone else will!!
Thanks for your reply.
At first I thought I was crazy, so I tried the simplest HTML I could find and tried it on my PC and The PC in the next office,
The Alert inf the onunlod function does not work on my PC but works on the PC in the other office.
I do not know of any settings in IE Exp. that could prevent this.
If you Think of any thing get back to me
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)