opening the window using an obj from the calling obj
|
| View previous topic :: View next topic |
| Author |
Message |
montanarry
Joined: 13 May 2006 Posts: 175
|
What is a good way to open a window and have that window use an object from the calling object?
I did try adding the object to the document of the open window ( a = window.open(); a.document.my_obj = this;) but that didn't seem right
And it didn't work |
| |
|
|
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| montanarry, in your opened window, you can reference the 'opener' window.opener |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| ah, thanks! |
| |
|
|
|
|