vanilla javascript on change code example Example: addeventlistener js select item selectId.addEventListener("change", function() { });