codice:
<form name"mioform">
<input type="text" name="prima" onChange="document.mioform.seconda.value = '10';" />
<input type="text" name="seconda" />
</form>