I was under the impression that I could get the value of a select input by doing this $(this).val(); and applying the onchange parameter to the sel
$(this).val();
onchange
You can try this (using jQuery)-
$('select').on('change', function() { alert( this.value ); });
Option 1 Option 2 Option 3 Option 4
Or you can use simple Javascript like this-
function getNewVal(item) { alert(item.value); }