Hello
How can i have three or more select tags with same names(as in my program, the select tags are being generated dynamically), and select independently what option was selected. I have a loop, where my php reads a sql table, and for each row, it creats a select tag and a button with it.
<select name="vote">
<option value="1">1</vote>
<option value="2">2</vote>
<option value="3">3</vote>
</select>
<input type="button" onclick="vote()">
So suppose i have 3 rows in my sql table, so 3 select tags with buttons would be created.
Now my question is how can i see what select tag has what option seleted??
Can anyone help me with this.
Zeeshan