Category >
JQUERY
|| Published on :
Monday, June 1, 2015 || Views:
6558
||
Web method Jquery
$.ajax({
type: "POST",
url: "eX.aspx/wEBMETHOD",
data: JSON.stringify({ code: code, name: txt, no: no }),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: true,
success: function (data) {
$.each(data, function (v, t) {
if (t != "done") {
alert(t);
}
});
},
failure: function (data) {
alert("Failed Retry");
},
error: function (data) {
}
});