469,645 Members | 1,971 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

access denied when trying to acess document in iframe

hi all

i am loading a html document in my iframe which comes from the same domain, when i am trying to acess the document(html page) in the iframe using java script i am getting access denied , but some times its not giving me error and i am able access the document. its inconsistent like some time it gives me error and sometimes not(for the same document). Inside the html document its refering to the website images that are not in my domain. Can any one help me with this.
Nov 13 '07 #1
4 1801
mzmishra
390 Expert 256MB
I guess the problem comes when you are trying to access the images which are not part of your domain.
You need to check that part again.
Nov 14 '07 #2
thank you i am checking
Nov 21 '07 #3
Frinavale
9,735 Expert Mod 8TB
I am moving this question to the JavaScript Forum because I think you'll receive better help there.

Cheers!

-Frinny
Nov 21 '07 #4
acoder
16,027 Expert Mod 8TB
hi all

i am loading a html document in my iframe which comes from the same domain, when i am trying to acess the document(html page) in the iframe using java script i am getting access denied , but some times its not giving me error and i am able access the document. its inconsistent like some time it gives me error and sometimes not(for the same document). Inside the html document its refering to the website images that are not in my domain. Can any one help me with this.
Can you post your code, so we can have a look at it and see where the problem might be.
Nov 22 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.