how to selected dropdown value in jquery code example

Example 1: how to get the value of dropdown in jquery

BY LOVE
$('#ddlName option:selected').val();

Example 2: select option value jquery

$("select.country").change(function(){
  var selectedCountry = $(this).children("option:selected").val();
  alert("You have selected the country - " + selectedCountry);
});

Example 3: get selected option value

var conceptName = $('#aioConceptName').find(":selected").val();

Example 4: jquery get dropdown list selected value

$('#dropDownId').val();

Example 5: jquery get selected option value

jquery get selected option value

Tags:

Html Example