ITeye博客

网页关闭时提示是否关闭

ware · 2011-04-22 16:15 · css · Web前端 · Markdown

<html>
<head>
<title> code   by   meixx </title>
</head>
<body bgcolor="#CCCCCC" onbeforeunload= "return   '是否要关闭窗口? ' ">
<input   type= "button "   onclick= "this.disabled=true "   value= "Click   Me ">
<input type="button" disabled="true" value="aaaaaaa">
</body>
</html>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。