change value select javascript 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
$('select').on('change', function() {
alert( this.value );
});
evt.target.innerText