event for select tag in jquery code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: document.on chenage jquer
$(document).on('change', 'input', function() {
// Does some stuff and logs the event to the console
});