Hi there i am tying to filter all the ul li items that contain an span with a class and a desired .text() value to be hidden this way:
/* string is something like 'somefilename.png'*/
$('.qq-upload-file li').filter(function() {
return $(this).find('.qq-upload-file').text() == string;
}).fadeout();
But firebug logs this error on execution:
$(
[Parar en este error]
$('.qq-upload-file li').filter(function() {
What am I missing here?
Replace
.fadeout()with.fadeOut()– case is important.