Answers for "get selected value on change select jquery"

3

select onchange get value jquery

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

//or

$("#the_id_select").change(function(){
   alert( this.value );
});
Posted by: Guest on May-25-2021
5

jQuery change select value

$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery
Posted by: Guest on July-26-2019

Code answers related to "get selected value on change select jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language