Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opener is not getting form value...

Status
Not open for further replies.

ralph4208w

Programmer
Aug 29, 2006
13
US
Hi,

I currently have window "A" use javascript's statement "window.open" to create a new window "B".

Within window B, if I use javascript...alert("some info=" + window.opener );" then I receive an alert box that says "some info[object]"...and this is a good sign (I think).

My problem: when I try to use javascript...
alert("b" + window.opener.document.myForm.myTextArea.value );
the javascript just stops working. No error message. No data. Nothing.

Any help would be GREATLY appreciated. I really want to have this done today, and I'm stuck on simply grabbing the value of a form field from the parent window.

Thanks in advance!
 
a little correction. It is displaying an error message "Access denied". The two web pages are on the same web site, and even within the same directory.

Any ideas?

sites I like: .. let's me find new movies to watch :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top