Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $('#myModal').hide();
- $('#btnDetails').click(function () {
- var applicantId = $('#hiddenval').val();
- $.ajax({
- type: 'POST',
- url: '../../Transactions/Home/ShowDetails',
- data: { id: applicantId },
- success: function (response) {
- $('#modalBody').html(response);
- $('#myModal').modal('show');
- },
- error: function () {
- console.log("Error at model showing");
- }
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement