.clone() with slideDown
.clone() with slideDown
Hi.
I have this function which copies a table (that are inside a row), and inserts the new table copy inside the same row:
- function AddNewStop() {
- $("#SingleStop").clone().appendTo("#AllStops");
- }
Instead of just showing instantly, I would like the new table to slide down in a nice effect. But I cant get it to work. I´ve tried several things, like hiding the table first like this:
- $("#SingleStop").clone().appendTo("#AllStops").hide().slideDown(500);
But that didnt work either. What am I doing wrong?
Thanks alot for your help and time! :)