async only makes the call synchronous (hangs all processes until the
response is received - freezes the browser), it doesn't affect in any
way the security model of XHR.

If you own both domains put up a JSONP service to provide the data.

On Jan 14, 12:50 pm, "g...@getsharepoint.com" <g...@getsharepoint.com>
wrote:
> Hi,
>
> If my code is on mydomain.com and I want to get some data from
> yourdomain.com can I use .ajax with async=false or does .ajax always
> do an XMLHttpRequest to get it's data?
>
> I know I can't use XMLHttpRequest for cross-domain requests.
>
> Thanks ahead of time.

Reply via email to