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

How to solve a cross domain issue?

P: 2
How to solve a cross domain issue as it is showing "permission denied" error message?
Any thoughts?
May 27 '08 #1
Share this Question
Share on Google+
2 Replies


hsriat
Expert 100+
P: 1,654
How to solve a cross domain issue as it is showing "permission denied" error message?
Any thoughts?
What kind of cross domain issue it is?... Can you please elaborate?
May 27 '08 #2

P: 2
What kind of cross domain issue it is?... Can you please elaborate?
Let me elaborate it. I have made a php code(adresult.php) which takes out the top two result for the keyword entered by the user. Also, I have created an ajax file (demo.html) where I am using a div which calls the ajax function(jscript.js). This exactly works as the google ads. The user can search for the particular keyword and get the top two results and just copy the code in the demo.html and can paste it in his/her webpage. As the adresult.php file is in my domain, it shows an error message "permission denied". I know that this happens because of the cross domain issue, but i am not able to solve this. Can you help me out to solve this issue?
May 27 '08 #3

Post your reply

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