jquery selected option value

JavaScript
var selectedOptionText = $('#mySelectID').find(":selected").text();//selected option text
var selectedOptionVal = $('#mySelectID').find(":selected").val();//selected option valueBY LOVE
$('#ddlName option:selected').val(); $("#mySelect option:selected").html();$("select.country").change(function(){
  var selectedCountry = $(this).children("option:selected").val();
  alert("You have selected the country - " + selectedCountry);
});$('.id_100 option[value=val2]').attr('selected','selected');
$(document).ready(function(){
    $("select.country").change(function(){
        var selectedCountry = $(this).children("option:selected").val();
        alert("You have selected the country - " + selectedCountry);
    });
Source

Also in JavaScript: