The focus() method sets the focus to the Reset button. Example of the reset focus method Enter Name: Enter Phone: