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)
}
});
Loading
Lalit MPosted Sep 28, 2011, 3:17 AM
You can find answer from this link Hope will help!!!
if help kindly mark my answer in checkbox...
Thanks Advance....