Hi There
I am using a page which has an iframe within it. The iframe is hosted on a different domain and will have the following code:
<HTML>
<BODY>
<!-- This will be triggered on load of page –>
<a href=“javascript: parent.document.forms[‘parentfrm’].submit();”>submit</a>
</BODY>
</HTML>
My page will have the following code:
<HTML>
<BODY>
<!-- Form –>
<form method=“gett” action=“http://www.google.com” id=“parentfrm”>
Test input - <input type=“text” name=“lang” id=“lang”>
</form>
<!-- SI IFrame –>
<iframe src=“frame.htm” align=“middle” width=“300” height=“300”>
</iframe>
</BODY>
</HTML>
I can get this working in all browsers accept for Chrome as when i hit the submit button in the iframe page it doesn’t trigger the form submit in the parent window. Does anyone know why this would be the case? Any ideas how i can get around this?
thanks