Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#submit_expenditure").on("click", function () {
- if ($('select[name="PROJECT_FK"]').val() == "0") {
- $("#cekExpCostPart").val("No");
- } else {
- $("#cekExpCostPart").val("Yes");
- }
- var formdata = $("#kt_form").serialize();
- $.ajax({
- type: "POST",
- data: formdata,
- url: "/Activity/SaveExpidentureCostMeeting",
- success: function () {
- var table = $('#ActiveCostCentreTable , #SelectedCostCentreTable, #ExpenditureTable').DataTable();
- table.ajax.reload();
- return swal.fire({
- title: "",
- text: "Successfully Save Data",
- type: "success",
- confirmButtonClass: "OK"
- }), !1;
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement