<!-- ------------------------------ -->
<!-- 文件範例:15-20.htm -->
<!-- 文件說明:OnBlur事件 -->
<!-- onblur 是控件在失去焦點的時候觸發的事件 -->
<!-- ------------------------------ -->
<html>
<head>
<title>OnBlur事件</title>
</head>
<body>
<Form>
<input type="text" name="test1" value="test1">
<input type="text" name="test2" value="test2" onBlur=alert("我失去了輸入焦點!")>
</Form>
</body>
</html>