Computer Science, asked by jahanaara00442, 16 days ago

when is the previous option selected?​

Answers

Answered by nallisivaramakrishna
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