How to call external url in jquery?
All of these answers are wrong! Like I said in my comment, the reason you’re getting that error because the URL fails the “Same origin policy“, but you can still us the AJAX function to hit another domain, see Nick Cravers answer on this similar question: You need to trigger JSONP behavior with $.getJSON() by … Read more