<td> <input type="checkbox" data-bind="checked: status, disable: status, click:$root.UpdateStatus" /> </td>
self.UpdateStatus = function (tblUsers) { $.ajax({ type: "POST", url: 'SinglePageApp.aspx/UpdateStatus', data: "{statusVal: 'true',goalId: " + tblUsers.goalId + "}", contentType: "application/json; charset=utf-8", success: function (result) { alert(result.d); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert(textStatus); alert(errorThrown); } }); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)