jQuery get selected option value from dropdown
jQuery

jQuery get selected option value from dropdown

For dropdown options you probably want something like this:

# Get selected value

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

#  Get selected text

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

 

Another way to get value

$( "#myselect option:selected" ).val();

Get The latest Coding solutions.

Subscribe to the Email Newsletter