accessing function from another window - how do i call it?
I have a main window opening up a second window and from the 2nd window i need to access a function which is defined in the main window. I know it can be done in frames but can anyone please tell me how to do it in a different window. Thanks (ps. my 2nd window has 2 frames)
Anonymous posted this at 02:19 — 26th July 1999.
They have: 5,633 posts
Joined: Jan 1970
Add the following code to the second window.
window.opener.FUNCTION_NAME()
----------
[email protected]
vegas.com.au/~jasper
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.