I have problem with same origin policy in my webapp. Here the situation: I have on my server 2 vitual machine one on 80 ( apache ) and one on 880 (tomcat) so in my webapp I have an iframe in this domain:
ouut of iframe I have the site in this domain
http://mydomain.com:443 (https standard)
so, if i try to comunicate with iframe javascript have a Same Orgin policy problem.
for example:
document.parent.myfunction();
return same origin problem. There is same way to bypass this policy? add some header inside the Iframe and inside my main app?? thanks a lot