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