• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Submit.focus()

JavaScript1.0+, JScript1.0+ Nav2+, IE3+, Opera3+ Syntax

							submit.focus()

Description

The focus() method of the Submit object places focus on the Submit button. Be careful when using this method in conjunction with the Submit.blur() method. It can lead to a focus/blur loop, where the browser blurs a focus as soon as it is done, and vice versa.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint