<html>
<head>
<title>刪除時確認</title>
<script language="javascript">
function delete()
{
if(confirm("確實要刪除嗎?"))
alert("已經刪除!");
else
alert("已經取消了刪除操作");
}
</script>
</head>
<body>
<input id="Button1" type="button" value="刪除" onclick="delete()" />
</body>
</html>
文章標籤
全站熱搜
留言列表