.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:

  1. function AddNewStop() {
  2.     $("#SingleStop").clone().appendTo("#AllStops");
  3. }

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:

  1. $("#SingleStop").clone().appendTo("#AllStops").hide().slideDown(500);

But that didnt work either. What am I doing wrong?

Thanks alot for your help and time! :)