javascript - Removing a table row inside a fadeOut function results in the same table row count -


i removing table row table clicking link in to-be-deleted row. achieve fadeout effect.

when put tr.remove() inside of callback function fadeout, table row count still same prior removal.

for instance if there 3 table rows in tbody , click 'delete link' in 1 rows, rows fadeout expected, table row count still same afterwards (3).

if take tr.remove() out of callback method, , call tr.remove() without fadeout table row count decreased after removal.

why this?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -