133
rated 0 times
[
138]
[
5]
/ answers: 1 / hits: 16827
/ 15 Years ago, tue, april 7, 2009, 12:00:00
Can jquery ajax code call a webservice from another domain name or another website?
Like this:
$.ajax({
type: POST,
url: http://AnotherWebSite.com/WebService.asmx/HelloWorld,
data: {'name':' + $('#price').val() + '},
contentType: application/json; charset=utf-8,
dataType: json,
success: function (msg) { alert(msg); }
});
And how should I config this webservice?
More From » asp.net