C
Craig Keightley
How do I retrive the Name of the item in a select box
I have the following form
<select name="select">
<option value="1">Monday</option>
<option value="2">Tuesday</option>
<option value="3">Wednesday</option>
<option value="4">Thursday</option>
</select>
I have a button on the page that i want to alert a message when an item in
the select box has been chosen
eg If Monday was chosen (value 1), the alert should read You selected Monday
Many Thanks
Craig
I have the following form
<select name="select">
<option value="1">Monday</option>
<option value="2">Tuesday</option>
<option value="3">Wednesday</option>
<option value="4">Thursday</option>
</select>
I have a button on the page that i want to alert a message when an item in
the select box has been chosen
eg If Monday was chosen (value 1), the alert should read You selected Monday
Many Thanks
Craig