variables from new window after window.open()

Y

yawnmoth

say i have an variable in a window that has opened up another window.
how would i access the variable in the original window from the newly
created window?

i found a javascript mini-faq which addressed how to access form
elements in the original window from the newly created window, but
that's not what i want to do. i want to be able to access variables.

any help would be appreciated - thanks! :)
 
R

Randy Webb

yawnmoth said:
say i have an variable in a window that has opened up another window.
how would i access the variable in the original window from the newly
created window?

i found a javascript mini-faq which addressed how to access form
elements in the original window from the newly created window, but
that's not what i want to do. i want to be able to access variables.

any help would be appreciated - thanks! :)

window.opener.variableName;

from the child window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top