javascript array overwrite
<p>I want to store a value in an array from a dropdown using javascript. But in the drop down I am calling the <code>OnChange</code> event and passing the selected value to a function. So on every <code>OnChange</code> event, the previous value gets overwritten with a new value. </p>

<p>How can I solve this?</p>
