Click here to Skip to main content
15,886,787 members

Response to: ajax enabled WCF Service

Revision 1



$(document).ready(function () {
$("#ajax_loading_div").addClass("loading");
$.ajax({
cache: false,
async: true,
type: "GET",
dataType: "json",
url: "../Services/FinMasterServices.svc/DeleteListCompany",
data: { name: vatid },

contentType: "application/json;charset=utf-8",
success: function (r) {
$("#ajax_loading_div").removeClass("loading");
if (r != null) {
alert("Removed Successfully");
}
},
error: function (e) { alert(e.statusText); }

});
});
Posted 22-Nov-12 22:19pm by Karthik J, Coimbatore.
Tags: , ,