scusa, la sintassi corretta e' questa:

codice:
if(f.testo_ricerca.value.length<3){
ciao