1
2<select id="myselect">
3 <option value="1">Mr</option>
4 <option value="2">Mrs</option>
5 <option value="3">Ms</option>
6 <option value="4">Dr</option>
7 <option value="5">Prof</option>
8</select>
9
10<script>
11$( "#myselect option:selected" ).val();
12</script>
1$("select.your-select").change(function(){
2 $(this).children("option:selected").val();
3});
1var selectedOptionText = $('#mySelectID').find(":selected").text();//selected option text
2var selectedOptionVal = $('#mySelectID').find(":selected").val();//selected option value