这样能实现吗....点击一下按钮关闭窗口
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>close()</title>
<script type="text/javascript">
function o(){
var mywin=window.open("http://www.imooc.com");
}
function c(){
mywin.close();
}
</script>
</head>
<body>
<form>
<input type="button" name="buttom" value="dian" onClick="c()" />
</form>
</body>
</html>