prova con questo codice:
da richiamare così:codice:function aggiungi(v, f) { var elenco=f.elenco; elenco.options[elenco.options.length]=new Option(v, v); elenco.options.length++; }
fammi sapere se funziona dato che non l'ho provato. ;)codice:<input type="button" onClick="aggiungi(this.form.nomecampotesto.value, this.form);" value="Aggiungi">
ciao