hi,
i want to disable the parent window when i opened the child window using javascript and html.
i have written code like this.but its working only one time.any one knows pls help me in this situation.
s.html
<html>
<head>
<SCRIPT >
function popuponclick()
{
my_window = window.open("p.html",
"mySelect", "status=1,width=750,height=450,resizable=no");
//enableDisable();
}
</script>
</head>
<body>
<form name="formSelect">
<P>
<A HREF="#" onclick='popuponclick()' >show popup window</A><br>
</P>
</div>
</form>
</body>
</html>
p.html
<html>
<head>
<script language = javascript>
</script>
</head>
<body onBlur="self.focus()">
bbb
</body>
</html>