网页关闭时提示是否关闭
<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>