function UpdateSLDataByRow(strWebServicePath, strServerKey) { alert("Update SL Data by row called"); $(function() { var obj1 = { "strServerKey": strServerKey}; var arg = JSON.stringify(obj1); $.support.cors = true; $.ajax({ type: "POST", datatype: "json", url: strWebServicePath + "/UpdateSLDataByRow", data: arg, contentType: "application/json; charset=utf-8", success: function(data, textStatus, xhr) { if (typeof console != "undefined") { if (data.d == 1) { console.log('Transaction Status: OK'); } else { console.log('Transaction Status: NG'); } } }, error: function(xhr, textStatus, errorThrown) { if (typeof console != "undefined") { console.log(xhr.responseText); alert(sJSSLWebServicePathError); } } }); }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)