Iframe: Get textbox value from main page(opener)

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Alpha_4762
Forum Newbie
Posts: 2
Joined: Fri Mar 12, 2010 3:35 pm

Iframe: Get textbox value from main page(opener)

Post by Alpha_4762 »

Hi!

I need help on how to get the textbox value of my main page that calls another window that has an iframe in it.

Note: There are 3 html/php file.
1 - The Main page or the caller/opener which holds the textbox
2 - The php/html file that holds the iframe (pop up window)
3 - The html/php for the iframe

I tried:
opener.document.getElementById("textbox_name").value;

Obviously I am not able to make it work since I'm asking for help. :D

Please help!!!
webadmin40
Forum Newbie
Posts: 5
Joined: Wed Jul 21, 2010 4:07 am

Re: Iframe: Get textbox value from main page(opener)

Post by webadmin40 »

The multi form functionality can be used to create some powerful applications. Coming to the topic to get the textbox value from the main page getvalue function along with the textbox name can be of some use i hope....i just winder you don't have multiple text boxes or it can complicate the situation.Please update the thread if this solves your problem.
Post Reply