how do i set a dynamic object in JS?
<p>I want to keep a value from a form by a js function
with <code>document.getElementById("form1")</code><br>
but in the form there are dynamic inputs amount1 , amount2 ect... (i dont know how many - its from database)<br>
how do i reach form1.amount (p)<br>
when p is the index of the amount ?<br>
thanks</p>
