Here i will explain how to close a child window from a parent window using simple javascript.
<title>Example For Child and Parent Window Operations</title>
<script language="JavaScript">
function closeDep()
{ //mistonline.in //refer us for more tutorials scripts
if (main && !main.closed) main.close()
else{ alert("I think you have not open any child windows")
}
}
</script>
<body>
<div> <a href="http://www.mistonline.in/" onclick="main = window.open(this.href, 'win', 'height=650,width=700'); return false">
Mistonline tutorial world</a></div><p><input type="button" value="winclose" onClick="closeDep();"/>
Simple correct.Please give some feedback.

Excellent, Superb
Interesting post
Bookmarked it!
Love your blog I’m going to subscribe