Using fadein and append

前端 未结 9 1949
不知归路
不知归路 2020-12-07 10:39

I am loading JSON data to my page and using appendTo() but I am trying to fade in my results, any ideas?

$(\"#posts\").fadeIn();
$(content).appe         


        
9条回答
  •  既然无缘
    2020-12-07 11:26

    I tried what you said did the trick but is not working. it worked with the following code

    $("div").append("content-to-add").hide().fadeIn();
    

提交回复
热议问题