var html = "<div id='blah'>Hello stuff here</div>"
$("#mycontent").append(html).fadeIn(999);
这似乎不管用.
我只想在添加内容时有一个很酷的效果.
注意:我只希望新的"blah"div淡入,而不是整个"mycontent".
var html = "<div id='blah'>Hello stuff here</div>"
$("#mycontent").append(html).fadeIn(999);
这似乎不管用.
我只想在添加内容时有一个很酷的效果.
注意:我只希望新的"blah"div淡入,而不是整个"mycontent".
$(html).hide().appendTo("#mycontent").fadeIn(1000);