codice:
document.nomeForm.elements[idCampoCorr].value=...
ciao