<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
var name = prompt('请输入你的姓名', '匿名');
var flag= confirm("请确认你的姓名:" + name);
if (flag) {
alert('确认无误!');
} else {
alert('error!');
}
</script>
</head>
<body>
</body>
</html>对话框的方法
最新推荐文章于 2021-07-09 07:05:47 发布
1498

被折叠的 条评论
为什么被折叠?



