how to get the value of a selected option in jquery code example
Example 1: jquery selected option text
$("#mySelect option:selected").html();
Example 2: jquery selected option value
$(document).ready(function(){
$("select.country").change(function(){
var selectedCountry = $(this).children("option:selected").val();
alert("You have selected the country - " + selectedCountry);
});