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