Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set a form value in a main page from within iframe

Status
Not open for further replies.

tofuTnT

Technical User
Joined
Jul 17, 2003
Messages
67
Location
US
Hi All,
I am not sure if that is even possible.

I have a main html page with a FROM in it. it also contains a IFRAME which load html file from another site. Is it possible to write javascript in the IFRAME html page to udpate a Form value in the main page?

Thanks in advance for any tips!

tofuTnT
 
No - cross-domain scripting is strictly verboten.

You could look into the document.domain property, but it might not help, depending on your setup.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top