Very simple javascript request. Grab element ID
<p>I have an element that I'm grabbing the value, thus:</p>

<pre><code>var text = form1.elements[i].value;
</code></pre>

<p>What I want to know is if I can grab form1.elements[i].value's ID somehow.</p>
