Hi,
I was wandering if it's possible to access a global variable in one page from a pop-up created by that page. Failing that, how do you access a form element from a pop-up is it just window.opener.document.forms.....?
yes, shmmeee, it might be just like u wrote:
window.opener.document.forms.formname.fieldname.value="new from popup"
& 2 refer 2 any global variable just write window.variable, where window might be opener or some windowname
(windowname got by windowname=window,open(..) or wnd=window.open('url',windowname,prefs) - dont remember, try both ways) regards, vic
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.