Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets the object as active without setting focus to the object.
Syntax
object.setActive( )Return Value
No return value.
Remarks
The setActive method does not cause the document to scroll to the active object in the current page or in another frame or window .
Examples
This example demonstrates how to use the setActive method between frame s.
... <SCRIPT> function fnBottomActive(){This example demonstrates how to use the setActive method between windows. By clicking the 'SetActive' button in the left window, the method sets the 'Second Button' as the active object in the right window, though the object does not receive focus. The object only receives focus when its page receives focus. To confirm that the object is active, click on the right window's title bar. The button appears to be selected.
<HTML>
Standards Information
There is no public standard that applies to this method.
Applies To
|
A , ACRONYM , ADDRESS , APPLET , AREA , B , BDO , BIG , BLOCKQUOTE , BODY , BUTTON , CAPTION , CENTER , CITE , CUSTOM , DD , DFN , DIR , DIV , DL , document , DT , EM , EMBED , FIELDSET , FONT , FORM , FRAME , FRAMESET , hn , HR , I , IFRAME , IMG , INPUT type=button , INPUT type=checkbox , INPUT type=file , INPUT type=hidden , INPUT type=image , INPUT type=password , INPUT type=radio , INPUT type=reset , INPUT type=submit , INPUT type=text , INS , ISINDEX , KBD , LABEL , LEGEND , LI , LISTING , MARQUEE , MENU , OBJECT , OL , P , PLAINTEXT , PRE , Q , RT , RUBY , S , SAMP , SELECT , SMALL , SPAN , STRIKE , STRONG , SUB , SUP , TABLE , TBODY , TD , TEXTAREA , TFOOT , TH , THEAD , TR , TT , U , UL , VAR , window , XMP |
Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |