<html>
<head>
<title> Example of the reset onBlur event handler</title>
</head>
<body>
<script language="JavaScript">
<!--
function setMsg(){
alert("Focus was removed from the reset object");
}
-->
</script>
<form name="form1">
Click the reset button and then click in a text area.
<br><br>
Enter Name: <input type="text" Name="name" Size=15>
<br>
Enter Phone: <input type="text" Name="phone" Size=10>
<input type="reset" name=resetbutton value=Reset onBlur='setMsg()'>
<br>
</form>
</body>
</html>
|