<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>window对象</title>
<script type="text/javascript">
function opon(){
window.open('http://www.imooc.com/code/871','_blank','width=600 height=400')
}
</script>
</head>
<body>
<form>
<input type="button" value="点击我,打开新窗口" onclick="opon()"/>
</form>
</body>
</html>
找不到问题在哪,就是打不开新网页
qq_牧月云_0
相关分类