The setActive Method


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

Tip

The element with the focus in a document is made into the active element by default.




Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net