Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 18, 2012 03:38 PM by Durga Nageswara Rao
0 Points
1 Post
Apr 18, 2012 03:38 PM|LINK
Hi,
From one site i am loading an aspx page as a popover through IFrame while Page_Load. Here, IFrame is in one site say www.test.com.
But IFrame src=http://DIfferentDomain/PopOver.aspx. Both are from different domains. But i need to close that IFrame
from PopOver.aspx when click on Button which is in PopOver.aspx.
I have a script plugin in www.test.com in that script i have a fuction like
divClose.onclick=
function(){
document.body.removeChild(document.getElementById(
"divOuterMain"));
"layer"));
};
Here "divClose" is image at www.test.com. I need to access that function from PopOver.aspx.
If both Domains are same this script is working fine. But if in case of different domain it is not working.
please any body help me ....
Durga Nagesw...
0 Points
1 Post
How to close IFrame content from IFrame src page
Apr 18, 2012 03:38 PM|LINK
Hi,
From one site i am loading an aspx page as a popover through IFrame while Page_Load. Here, IFrame is in one site say www.test.com.
But IFrame src=http://DIfferentDomain/PopOver.aspx. Both are from different domains. But i need to close that IFrame
from PopOver.aspx when click on Button which is in PopOver.aspx.
I have a script plugin in www.test.com in that script i have a fuction like
divClose.onclick=
function(){
document.body.removeChild(document.getElementById(
"divOuterMain"));
document.body.removeChild(document.getElementById(
"layer"));
};
Here "divClose" is image at www.test.com. I need to access that function from PopOver.aspx.
If both Domains are same this script is working fine. But if in case of different domain it is not working.
please any body help me ....