Answers for "jquery on select"

4

jquery select on select

$('select').on('change', function(e) {
  console.log( e.target.value );
});
Posted by: Guest on July-02-2021
1

.on change get value

$('select').on('change', function() {
  alert( this.value );
});
Posted by: Guest on February-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language