"Silver Arrow" <SilverArrow1 (AT) voila (DOT) fr> wrote
Iframe ReturnValue returns undefined if domains are not the same
I am using a modal window and an iFrame to try and pull a return value
back.
IMPORTANT : I am doing this across domains.
Main app:
http://webSite1.domain.com/mainApplication
Other app call in ModalWindow:
http://webSite2.domain.com/mainApplication
I have the value returned from the modal window to the iFrame window
but I can not get the value returned to the parent window. The alert
in the parent window always returns undefined errors. Any help would
be much appreciated.
If the domains are completely different I don't think it can be done with
changing the "access data sources across domains" in the security settings, and
even then it may not work.
If the domains are as you wrote then you can set the document.domain property if
you can alter the page source.
http://msdn.microsoft.com/library/de...asp?frame=true
--
Joe (MVP)
https://mvp.support.microsoft.com/pr...8-8741D22D17A5