Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js select on change value

document.getElementById('my-select').addEventListener('change', function() {
  console.log('You selected: ', this.value);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #select #change
ADD COMMENT
Topic
Name
6+6 =