I'd like to filter several SPANs with the text they contain:
$('spanFilter').filter(function(){
var html = $(this).html();
return //comparison html LIKE %asdf%
});
In the comparison, I'm trying to do something like MySQL's LIKE:
field LIKE %asdf%
How can I achieve that?