Advertisement
abujen001

TransactionDetailsShowing.js

Sep 20th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.57 KB | None | 0 0
  1. $(document).ready(function () {
  2.     $('#myModal').hide();
  3.     $('#btnDetails').click(function () {
  4.         var applicantId = $('#hiddenval').val();
  5.         $.ajax({
  6.             type: 'POST',
  7.             url: '../../Transactions/Home/ShowDetails',
  8.             data: { id: applicantId },
  9.             success: function (response) {
  10.                 $('#modalBody').html(response);
  11.                 $('#myModal').modal('show');
  12.             },
  13.             error: function () {
  14.                 console.log("Error at model showing");
  15.             }
  16.         });
  17.     });
  18. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement