alert窗口为什么 不显示
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
function dakai(){
var dakai=confirm("你确定要打开?")
if (dakai==true);
{
window.open('http://www.baidu.com','_blank','width=1366,height=768,menubar=yes,toolbar=yes, status=yes,scrollbars=yes');
}
else
{
alert("打开失败!");
}
}
</script>
</head>
<body>
<input name="button" type="button" onClick="dakai()" value="点击我,打开新窗口!" / >
</body>
</html>