Tuesday, March 1, 2011

Window.Unload() not working in IE6

I was not able to get this simple thing working in IE 6. It worked on IE7 and IE8 and not on IE6. I found the below workaround.

SCRIPT FOR="window" EVENT="onunload"
alert("on unload");

This works without any problem.

No comments:

Post a Comment