<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>点击删除按钮后 弹窗确认删除对话框</title>
<script language="javascript">
function delcfm() {
if (!confirm("确认要删除?")) {
window.event.returnValue = false;
}
}
</script>
</head>
<body>
<form action="del.html" target="_blank" method="get">
<input name="" type="submit" value="删除" onClick="delcfm()" />
</form>
</body>
</html>
点击删除按钮后,弹窗确认删除对话框
最新推荐文章于 2022-11-28 13:03:03 发布