So many cases developer will struggle to identify the problem with browser when making cross domain ajax request. Here are some solutions and links to understand cross domain ajax request and problems with browser.
Solution to fix the cross domain ajax request issue in google crome is
1. Right click and click on properties of the google crome short cut from the desktop.
2. Add the below line at the end of the target path after crome.exe like below.
C:\Users\msubra02\AppData\Local\Google\Chrome\Application\chrome.exe --disable-web-security --allow-file-access-from-files --enable-file-cookies
http://stackoverflow.com/questions/8679736/allowing-cross-domain-requests-in-safari-and-chrome-server-response-vs-command
http://stackoverflow.com/questions/6826282/how-to-allow-cross-domain-requests-in-safari
http://www.cypressnorth.com/blog/programming/cross-domain-ajax-request-with-json-response-for-iefirefoxchrome-safari-jquery/
http://www.html5rocks.com/en/tutorials/cors/
http://stackoverflow.com/questions/9314413/jquery-ajax-cross-domain-remote-server-does-not-work-in-ie8
No comments:
Post a Comment