codice:
function showname ()
{
alert(Form1.emaildest.options.value());
switch(Form1.emaildest.options[Form1.emaildest.selectedIndex].value())
{
case "10":
Form1.destinatario.value="nome1";
break;
case "20":
Form1.destinatario.value="nome2";
break;
case "30":
Form1.destinatario.value="nome3";
break;
case "40":
Form1.destinatario.value="nome4";
break;
case "50":
Form1.destinatario.value="nome5";
break;
default:
Form1.destinatario.value="nome6";
}
}
dentro il tag select ho messo onChange="showname()"
codice:
<select name="emaildest" id="emaildest" onChange="showname()">
<option value="10">email1</option>
<option value="20">email2</option>
<option value="30">email3</option>
<option value="40">email4</option>
<option value="50">email5</option>
</select>
ma continua a non funzionare...scusa se ti sto disturbando per così tanto tempo... 
edit: nella casella di testo rimane tutto vuoto...