how to get selected option value in javascript before change code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: how to select text from event.target.value
evt.target.innerText