I want to parse a web page into my page, so i prefer AJAX in my code. While using the AJAX it showing ‘Access denied’ – before fetching the specified page. The page doesn’t consider any login information.
Even though i cant able to get the page of google too..
Please guide me to how to use the AJAX so for
Thanks,
Praveen
You can send
XMLHttpRequests only to your domain. if your site isexample.comyou can sendXMLHttpRequests only toexample.com. Firefox 3 supports cross-domain requests but you need to sendAccess-Controlfirst.The solution is to send a request to your domain and fetch cross-domain content via some server language (Java, PHP, Python, etc.)