Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,

can anybody solve my problem mentioned below...!!!

I have kept button on page say page1, on click event i am calling iframe.

iframe contains two textboxes and one dropdownlist box. I want values selected by user in page1 textboxes.
Posted
Updated 11-Apr-10 23:44pm
v2

1 solution

If the iframe content is on a different domain from the host page you bang out of luck. The browser's security won't let you access the form values.

However, if they're on the same domain then you can use the javascript DOM module to navigate the IFrame Child page and extract the values you want (or vice versa) by handling the buttons onclick event.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900