Hello ,
please see below code which i have written in aspx page
function SetUploadBatchFiled(hdnBatchNumber, ChkIsUpdateBatch) {
$.ajax({
type: "POST",
url: "../FilterRecord.asmx/SetUploadBatch",
contentType: "application/json; charset=utf-8",
dataType: "json",
data: "{'batch_number':'" + hdnBatchNumber + "','cheked':'" + ChkIsUpdateBatch + "'}",
beforeSend: function (xhr) {
xhr.setRequestHeader("Content-type", "application/json; charset=utf-8");
},
success: function (result) {
var vResultType = result.d;
if (result.d == "true") {
alert("Batch Uploaded Success ...
Go to the complete details ...