<html>
<head>
<title> Example of the reset blur method</title>
</head>
<body>
<script language="JavaScript">
<!--
function showMsg(){
alert("Focus removed from the Reset button.");
}
-->
</script>
<form name="form1">
Enter Name: <input type="text" Name="name" Size=15>
<br>
Enter Phone: <input type="text" Name="phone" Size=10>
<br>
<input type="reset" name=resetbutton value=Reset onBlur='showMsg()'>
<br>
<br>
</form>
</body>
</html>
|