How to access objects in another window using javascript

ACCESSING OBJECTS ANOTHER WINDOW JAVASCRIPT

Javascript
Tutorials

  

ACCESSING OBJECTS ANOTHER WINDOW JAVASCRIPT

Learn 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()
This is example code for how to access objects in another window using javascript