Having click listeners on <option>
elements is unconventional (I didn’t even know that worked). I’d say listening for the “change” event on the <select>
is more common. That might be why it works in some environments but not others.
2 Likes