<html>
<head>
<script type="text/javascript">
function clearbutton()
{
if (!confirm("确定要重写吗?")) return false;
}
</script>
</head>
<body>
<form action="registerInfor.htm" method="post" onSubmit="return clearbutton();">
<input type="submit" name="submit" value="删除预约信息"/>
</form>
</body>
</html>
html confirm() 用法
最新推荐文章于 2021-06-07 12:35:19 发布