I have a Select tag in the form in which i am giving the Static Options,
My problem is to know “how to retrieve the value which i have selected”,I dont want to use any Button to submit the value which i have selected.So i want to go with the “Onchange event ” of select tag.
here’s the code by which am populating the select tag:
print qq[<td>Records PerPage</td>];
print qq[<td><select name="'records'" size="1"><option value="2">2<option value="4"
selected>4<option value="6">6<option value="10">10</select></td></tr>];
Please do help me Find the solution. Thank You
EDIT: WITH ONCHANGE
Ok to get your value from a combo box use javascript
Now every time a user selects or changes the value of the combo box, a function named ‘sel’ will be called to update the variable that stores this value.
Hope this helps you.
Let me know if it does.
PK