The onFocus event handler is used to specify when the focus is set on the Reset button. Example of the reset onFocus event handler Click the reset button. Enter Name: Enter Phone: