Come faccio a mettere l'strtolower all'li?codice:$(document).ready(function(){ $("#cerca").bind('keyup',function(){ $("#categorie").find("li").each(function(){ if($("#cerca").val().length >= 1 ){ if( $(this).is(":contains('"+ $("#cerca").val() + "')") ) $(this).css('display',''); else $(this).css('display','none'); }else{ $(this).css('display',''); } }); }); });