Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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 theprogrammingexpert.com #
 
PREVIOUS NEXT
Tagged: #select #selected #jquery
ADD COMMENT
Topic
Name
6+7 =