how to add listener to a select in js code example Example: addeventlistener js select item selectId.addEventListener("change", function() { });