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

The setActive Method

The setActive method makes an element into the current active HTML element. (The active element is the one that has the focus when the document enclosing it gets the focus, and may be found using the document object’s activeElement property.) You can see the support for this method in Table 6.47.

Table 6.47. The setActive Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
setActive()         x x
  No return value



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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