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

Select.focus()

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

							select.focus()

Description

The focus() method of the Select object gives the focus to the select box. Be careful when using this method in conjunction with the Select.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