Posted on: 1/30/2014 6:53:37 AM | Views : 506

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 ...