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
Arrow function has a different scope than function, this.value will give undefined for an arrow function. To fix use
this.value
$('select').on('change',(event) => { alert( event.target.value ); });