get select option value on change jquery code example

Example 1: .on change get value

$('select').on('change', function() {
  alert( this.value );
});

Example 2: dropdown option selection change event in jquery

$("select [name='element_name']").change(function(){
	// condition goes here
});

Example 3: jQuery change select value

$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery

Example 4: document.on chenage jquer

$(document).on('change', 'input', function() {
  // Does some stuff and logs the event to the console
});