dcsimg
Access denied error in frames
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   suresh_kumar
Posted On:   Thursday, February 15, 2007 07:04 AM

Hi, This is my first message to this forum.I am facing one problem in frames.when i am trying to access child frame from parent frame i am getting "Access Denied Error".i know the reason bcz i am trying to access the frame in different domain.is there any way to tackle this problem my code: parent frame: function displayURL(){ self.childframe1.location.href="http://www.google.com"; alert("child frame URL="+self.childframe1.location.href); // this line i am getting the 'Access Denied Error' } ]]>]]> child frame:(child1.php): Display Google    More>>

Hi,
This is my first message to this forum.I am facing one problem in frames.when i am trying to access child frame from parent frame i am getting "Access Denied Error".i know the reason bcz i am trying to access the frame in different domain.is there any way to tackle this problem



my code:



parent frame:
















child frame:(child1.php):







Display Google







When the page is getting loaded for first time.the alert box is displaying with "http://www.ABC.com/child1.php". suppose when i click the 'Display google ' link in child frame,the google web site is displaying in my child frame but the alert box is not displaying "it's telling Access Denied Error".

   <<Less
About | Sitemap | Contact