javascript select box on change code example Example: html select change event select.addEventListener('change', function);