I am working on an application that has a search page with two buttons: one to reset the form and the other one to submit the form. The reset button also clears information kept in session. By default, the Search button has the focus on that page, but has soon as we would click on a textbox, the focus would switch to the Reset button in IE, preventing people from being able to use the Enter key to submit the form. Normally, the solution to this problem would be to define the default button in the form tag as follows: