Using AJAX across domains

Status
Not open for further replies.

coglethorpe

New member
Jul 2, 2008
445
1
0
I've seen "AJAX" powered services that run only with a JavaScript loaded remotely:

<script type="text/javascript" src="http://www.example.com/my.js">
</script>
Easy enough, but what if I want that to make a call to a server on another domain? Obviously, there are services that do that, but I'm not completely sure how, given the same origin policy.

I'd like to create a service on one domain and have my other domains use it without using iframes. I'm sure this is possible, but I can't figure out how. Examples, tutorials or anything is appreciated.

Thanks!
 


Status
Not open for further replies.