This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes window.opener.document.getElementById not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.opener.document.getElementById not working " Watch "window.opener.document.getElementById not working " New topic
Author

window.opener.document.getElementById not working

M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 157
Hi friends,
I am opening a pop-up window using (window.open), there I am getting the values using window.opener
(where salutation is a text field in the form)
This is not working for first page/first time, but for other pages its working fine, for first page also next time onwards it is working.

Please help in this regard,
thank you


R6i
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
And what would the error message be?

Eric
M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 157
thank you Eric.

Not getting any error messages.

For the first time/first page the value is not coming, for the next pages value is coming , if I navigate to the first page again then value is coming.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: window.opener.document.getElementById not working