How to access objects in another window using javascript |
|||
ACCESSING OBJECTS ANOTHER WINDOW JAVASCRIPTJavascript
|
|||
|
|
|||
|
|
|||
ACCESSING OBJECTS ANOTHER WINDOW JAVASCRIPTLearn Tutorials |
|
How to access objects in another window using javascript
Example code for Accessing objects another window javascript: <!--- accessing elements in a parent window ---> alert(opener.document.all.PrintersPulldown.selectedIndex) <!--- general syntax: ---> opener.document.all.(elementID or NAME).(property or method) ======================================================= <!--Cross-frame object accessing:--> parent.frames[2].(object).(its property or method) <!--example:--> parent.frames[2].document.theimage.blur() |
|||||||
![]() | |||||||