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