Ciao maximum,
in questa sintassi
codice:
f.elements("livello")[i].value
prova ad usare le parentesi quadre
codice:
f.elements["livello"][i].value