Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.41 KB | None | 0 0
  1.         jQuery.ajax({
  2.             type: 'POST',
  3.             dataType: 'text',
  4.             url: '/historiales/delete/'+$("#Historial"+row_number+"Id").val(),
  5.             success: function(response) {
  6.                 $('#ajax-save-message').hide().html(response).fadeIn();
  7.                 setTimeout(function(){
  8.                     $('#ajax-save-message').fadeOut();
  9.                 }, 5000);
  10.                 $(row).parent().parent().remove();
  11.             },
  12.             complete: function(){
  13.                 //callback();
  14.             }
  15.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement