Getting reference document element by name using javascript
<p>A basic question I assume for someone who does JS on a daily basis.
I'm helping a friend that does not use the recent sweets (JQuery, prototype and co.).</p>

<p>How should I get a reference to a document element by name ?</p>

<p>I would like to allow a selection user does in a <code>&lt;SELECT /&gt;</code> element modify the value of an <code>&lt;INPUT /&gt;</code> element. </p>

<p>Both elements don't have ID fields defined, only names.</p>

<p>This should be portably obviously (Mozilla, IE, Opera).</p>

<p>Thank you.</p>
