Hi,
I have an iFrame with an external website. I know about the same domain rule, so I am trying to invoke some javascript via the src
to the parent. Currently I have:
<iframe id="my_frame" src="http://other.com"></iframe>
and I change the src
using javascript as follows:
<iframe id="my_frame" src="javascript:document.write("blah");"></iframe>
but using the parent
does not work:
<iframe id="my_frame" src="javascript:parent.document.write("blah");"></iframe>
Does the same domain rule also apply for the parent or am I doing something wrong?