By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,282 Members | 1,548 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,282 IT Pros & Developers. It's quick & easy.

access denied when trying to acess document in iframe

P: 23
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
Share this Question
Share on Google+
4 Replies


Expert 100+
P: 390
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

P: 23
thank you i am checking
Nov 21 '07 #3

Frinavale
Expert Mod 5K+
P: 9,731
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
Expert Mod 15k+
P: 16,027
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.