document.write("
<script> $(function(){ $('.fa-trash-alt').click(function(e){ e.preventDefault(); var row = $(this).closest('tr'); row.addClass("bg-danger"); row.hide(2000, function(){ this.remove(); }); }); });</script>