Question : dropdown menu without submit button


want to update page when user
uses dropdown menu


do not want submit button

can not change this line
<form id="xyz">







<form id="xyz">
<select>
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>
</form>

Answer : dropdown menu without submit button

You can use the onchange event
onchange="selectfunction(this.options[this.selectedIndex].value)"

And then pass it to the javascript function "selectfunction(var mystring)"
Random Solutions  
 
programming4us programming4us