I have a single page that has a couple of different text boxes and submit buttons. Each do a different function. i.e. - login, searches, etc. The problem I am having is that the focus stays on the first button so if a user is using any other feature other than the first one, when they hit ENTER it submits the wrong button. Therefore, calling the wrong function. Is there a way to put the focus on the particular button for the text box they are using?