select box get selected value javascript code example
Example 1: get selected option value
var conceptName = $('#aioConceptName').find(":selected").val();
Example 2: javascript get selected option
let selectElement = document.getElementById("selectElement");
let valueSelected = selectElement.options[selectElement.selectedIndex].value; // get selected option value
var text= selectElement.options[selectElement.selectedIndex].text; //get the selected option text