JavaScript » Submit » focus

Syntax:
object.focus( )

This method gives focus to the specified submit button.