iframe same domain diff sub domain
I think I have read that this is possible.
The situation is that I have a page(index.htm) on say: content.mydomain.corp
This page submits a form to: work.mydomain.corp
The result is targeted(from the form on index.htm) to an iframe(named "myIframe") on index.htm
This loads the result fine, but when I try to access the iframe with javascript from index.html, I get an access denied error.
I am trying to access it with
self.myIframe.document.documentElement.innerHTML
I've tried using:
document.domain = "mydomain.corp";
at the top if index.html to no avail.
Any help, or links to help would be greatly appreciated.
Thanks!
M=