Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select selected value jquery

If you want to get the selected option text, you can use $(select element). text() . var text = $('#aioConceptName option:selected'). text();
If you want to get selected option value, you can use $(select element). val() . var val = $('#aioConceptName option:selected').val();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #selected #jquery
ADD COMMENT
Topic
Name
9+7 =