Horje
getIdfrommodelOnClickAjax Code Example
getIdfrommodelOnClickAjax
      <input type="submit" value="Update Status" class="ids" data-id="@sheet.ID" onClick="UpdateStatus(@sheet.ID)" />
        
      <script>
      function UpdateStatus(string id) {
      $.ajax({
        type: "POST",
        url: "/UpdateStatus",
        contentType: "application/json; charset=utf-8",
        data: {"id": id},
        dataType: "json",
        success: function() { alert('Success'); },
        error: function() { alert('Error'); }
       });
       }
      </script>




Whatever

Related
AZATOR Bot Code Example AZATOR Bot Code Example
in which months of the year does rainfall in the tropical monsoon and why Code Example in which months of the year does rainfall in the tropical monsoon and why Code Example
Calibrate Load Cell Code Example Calibrate Load Cell Code Example
3.000000000000000004 Code Example 3.000000000000000004 Code Example
material button Code Example material button Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9