Cross-Domain Ajax Using JQuery - The Ultimate Guide

There are lots of cases around the web dealing with cross-domain Ajax using JQuery. The main problem when calling an endpoint that is located in another domain is that browsers block them by the name of "same origin policy". While this is a security measure for blocking XSS, it's a pain the neck of a developer who repeatedly was said that REST and JSON are cool and easy. Fortunately there are some workarounds for that....

June 14, 2011 · 2 min · Amir Mohtasebi
Mastodon