Reputation: 7332
I have a <tr>
which will be removed when clicked in delete button, but before doing .remove()
or empty()
I'd like to wait for some fadeOut()
effect.
$(this).closest('tr').fadeOut();
setTimeout("$(this).closest('tr').remove()",1000);
is not working, it only fades out.
Upvotes: 8
Views: 9943