Is it possible to get a response from another domain through Ajax?
I used the below code to get the some records from another domain, but it doesn't works, Is it is possible by Ajax or How can I?
$.ajax({
url: 'http://www.anotherdomain.com',
type: 'GET',
data: {
user: 123
},
success: function(response) {
alert(response);
}
});