<!doctype html>
<html>
<head>
<meta charset=
"utf-8">
<meta name=
"author" content=
"智能社 - zhinengshe.com">
<meta name=
"copyright" content=
"智能社 - zhinengshe.com">
<title>智能社 - www.zhinengshe.com</title>
<script>
// window.alert('abc');
var a=window.confirm(
'你同意关闭吗?');
alert(a);
window.prompt('请输入你的密码');
</script>
</head>
<body>
</body>
</html>
转载于:https://www.cnblogs.com/heboliufengjie/p/4162824.html