Example of the Onfocus Event Handler
How to Use the Onfocus Event Handler
The HTML code to create the text box is shown below:
The full Javascript code is shown below: