how to take the selected name from drop down list
how to take the selected name from drop down list
<select id="test" >
<option value="1">name1</option>
<option value="2">name2</option>
</select >
//my script
var name=$("#test").text();
alert(name);
i want get the selected name only
Topic Participants
nikhil
trankhanh.tk.kt
jay.blanchard