You are here: irt.org | FAQ | JavaScript | Form | 3.1 | Q388 [ previous next ]
In older browsers, the form fields are expected to have names that start with alpha characters if you use the following syntax:
document.formName.139.value = 'some text';
However, you can get around this if you use:
document.formName.elements['139'].value = 'some text';