This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread 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 Java Interview Guide this week in the Jobs Discussion 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

window.opener.document.getElementById not working

M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 160
Hi friends,
I am opening a pop-up window using (, 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

Eric Pascarello

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

M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 160
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.
I agree. Here's the link:
subject: window.opener.document.getElementById not working
jQuery in Action, 3rd edition