Can I use XMLHttpRequests in JavaScript to request a file on a different server than the one from where the request was made?
Thank you.
Only if the remote server supports JSONP or HTTP Access-Control headers.
Public JSON API's (like the ones provided by Google.com, Facebook.com, etc) often do.