when is the previous option selected?
Answers
Answered by
0
Explanation:
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();
Similar questions
Hindi,
8 days ago
English,
16 days ago
Math,
16 days ago
Computer Science,
9 months ago
Math,
9 months ago