jQuery fadeIn()不起作用 [英] jQuery fadeIn() doesn't work
本文介绍了jQuery fadeIn()不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个简单的脚本,但是fadein()部分不起作用.虽然没有任何错误.
I have a simple script but the fadein() part is not working. Not getting any errors though..
$('<ol/>', {
'class': 'raw-list',
html: items.join('')
}).appendTo('.json').fadeIn(1000);
});
推荐答案
尝试首先使用以下代码将其隐藏:
Try to hide it first with the following code :
$('<ol/>', {
'class': 'raw-list',
html: items.join('')
})
.hide()
.fadeIn(1000)
.appendTo('.json');
这篇关于jQuery fadeIn()不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文