August 1999
Intermediate to advanced
1488 pages
72h 53m
English
reset.blur()
The blur() method of the Reset object is used to remove the focus from the Reset button.
Listing 7.445 shows an example of how the blur() method is used.
<html> <head> <title> Example of the reset blur method</title> </head> <body> <script language="JavaScript"> <!-- Hide // displays a message when focus is removed from the reset button function showMsg(){ document.form1.msg.value="Focus removed from the Reset button."; } // End Hide ---> </script> <form name="form1"> Enter Name: <input type="text" Name="name" Size=15> <br> Enter Phone: <input type="text" Name="phone" Size=10> <br> Message: ... |
Read now
Unlock full access