posted 19 years ago
Hai
I want to open a child window while click on the close of the parent window. i don't want to close the parent window at that time.plz give me a solution.I have a code. but wheni executed it the child window cannot open..
here is my code
<html>
<head>
<script language="JavaScript">
function popup(){
alert("helloooo");
window.open("'+'hello.html",'WebForm1','width=475,height=400,left= 376,top= 232');
alert("HHHH");
}
</script>
</head>
<body onUnload="popup();">
Heloo
</body>
</html>
plz give me a solution