how to selected values to select box using jquery code example
Example 1: jquery selected option
$( "#myselect option:selected" ).val();
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);
});
Example 3: how to show selected value in select box using jquery
$('selector').val(value);