<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() 用法
最新推荐文章于 2024-06-01 20:07:00 发布