您好我想要过滤所有包含带有类和所需ul li
值的span的.text()
项,以便以这种方式隐藏:
/* string is something like 'somefilename.png'*/
$('.qq-upload-file li').filter(function() {
return $(this).find('.qq-upload-file').text() == string;
}).fadeout();
但是firebug会在执行时记录此错误:
$(
[Parar en este error]
$('.qq-upload-file li').filter(function() {
我在这里缺少什么?
答案 0 :(得分:2)
将.fadeout()
替换为.fadeOut()
- 案例很重要。