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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -