Two Laptop Bag*
The moose likes HTML, CSS and JavaScript and the fly likes how to pass field value in an IFrame to its parent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to pass field value in an IFrame to its parent " Watch "how to pass field value in an IFrame to its parent " New topic
Author

how to pass field value in an IFrame to its parent

Yani Lee
Greenhorn

Joined: Jan 29, 2002
Posts: 2
Hi,
I use an Iframe to display a table of data and there is radio buttons in this iframe. So my user can select any of the radio buttons here. Then the submit button is in the main page that has the <iframe> tag. How do I make the submit button to "carry" the selected data from the iframe to my servlet? I think JavaScript is needed here, I can pass the selected value to the javascript in the iframe using on_click event on the radio button. But I don't know how to set this value to an input field of the outside/main page. Please help.
Thanks very much,
Yani Lee
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to pass field value in an IFrame to its parent
 
Similar Threads
iText issue- how to read filled PDF from from a hashmap.
How to keep selected radio button after page refresh
Using window.open( ).......
Struts 2 - Using onclick in a radio tag
regarding radio buton selection