onunload question
Posted: Mon May 31, 2004 5:57 pm
this is my code it doesnt have a popup of logout.php when the page is closed
but
onunload="alert('wait a sec!');" does work...
Thanks for the help
Code: Select all
<body onunload='window.open("logout.php", "msgbox", "width=300, height=100, status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,toolbar=no"); return false;'>onunload="alert('wait a sec!');" does work...
Thanks for the help