Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<script>
function message() {
  alert("此警告框由 onreset 事件处理程序触发");
}
</script>
</head>
<body>
<form onreset="message()">
  输入你的名字: <input type="text" size="20">
  <input type="reset">
</form>
</body>
</html>