Kategorien
TypeScript

Cross Domain AJAX Requests: Embedding content from another domain via JavaScript, jQuery and JSONP

Integrating content from a domain B into content at domain A using JavaScript and jQuery is not too easy. Due to the „same domain“ policy, all modern browsers prohibit simply calling jQuery’s $.load() function. The problem continues if you want to submit form data to another domain.