I have created one html page,in that using jquery i have call webservice .
It will work locally ,but on remote server it can not works.
This is the code using in javascript
$.ajax({
type: "POST",
url: "http://example.com/test.asmx/helloworld",
data: "{'bannerid':'" + id + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
//$(divid1).removeClass('loading');
$(divid1).html(msg)
}
});
How to call webservice using jquery on remote server??
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Sep 27, 2011, 11:17 PM EDT
You can find answer from this link Hope will help!!!
if help kindly mark my answer in checkbox...
Thanks Advance....