select value changed code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: on change event html not working
onchange is only triggered when the control is blurred. Try onkeypress instead.