$.ajax({ type: 'POST', contentType: 'application/json; charset=utf-8', url: '/demo1.asmx/HelloWorld', data: "{}", dataType: 'json', success: function (r) { alert('done'); }, error: function (r) { alert(r.val()); } });
alert(r.val());
alert(r.statusText);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)