Question : Need to insert a value into a textbox (which is in an iFrame) from an HTML page

OK,
I have an RPG program (not really relevant to the issue) which generates an HTML page.  I inserted the menu on that page in an iFrame, this was the only way it would work.  Regardless, there is a textbox on the menu (in the iFrame) that I need to insert a value into.  The menu has some JavaScript which calls various RPG programs to display other screens.  

Any ideas on how to insert that value either onto a hidden field on the menu page which could be referenced to attach it to the textbox or just directly into the textbox?

Answer : Need to insert a value into a textbox (which is in an iFrame) from an HTML page

Here is an example where the containing frame pokes values into the iframed page.

In this example, the iframed page creates a function in the parent page that will set the value of the field to the string passed.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
mainpage.html
 



menu.html
Open in New Window Select All
Random Solutions  
 
programming4us programming4us