Hi to all
i m developing a website. in that i want to clear all the session variables, when user close the pop up window. i have tried the following script, but it works in IE only, not working in FireFox.
[code]
if((window.event.clientX<0) || (window.event.clientY<0))
{
alert("close");
}
if (event.altKey==true && event.keyCode==0 )
{
alert("ALT + F4 being pressed");
}
[/code]
Please Help to do it in fire fox.
thanks.