> Hello,
>
> I'm trying to write a script to move a <li> element from one unordered
> list to another after it fades. Here is my code, I can get it to fade
> but not move. If I remove the fade I can get it to move correctly.
> Thanks for the help.
>
> $(document).ready(function(){
>         $(".color").click(function () {
>                 $(this).fadeOut(1000,function(){
>                 $(this).prependTo("#chosen_colors");
>           });
>     });
>
> });


You probably need to add a 'show' to the end of the prepend op since
the element has zero opacity at that point.

$(this).prependTo("#chosen_colors").show();

Reply via email to