# On dropdown menu, the event is not triggered if the first option / option displayed is the one that you want

**URL:** <https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-5, csp-unit-5-lesson-8\
**Created:** [February 13, 2018, 2:36pm UTC](https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366 "2018-02-13T14:36:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jweiland](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jweiland](https://forum.code.org/u/jweiland)\
**Post date:** [February 13, 2018, 2:36pm UTC](https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366/1 "2018-02-13T14:36:18Z")

</div>

Isn’t this a problem if you want to use the first option? The event will never trigger because it must be “changed”. To click on another option and then back to the first option seems illogical and unnecessary. I am telling my students to add a space for the first option so the user must “change” the option and trigger the event.

---

<div class="post-metadata">

**Author:** ![terence.stone25](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/terence.stone25/32/5124_2.png) [@terence.stone25](https://forum.code.org/u/terence.stone25)\
**Post date:** [February 13, 2018, 10:02pm UTC](https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366/2 "2018-02-13T22:02:25Z")

</div>

@jweiland Please elaborate the problem your are experiencing with U5L5.8. If you think there is a bug, please contact [support@code.org](mailto:support@code.org) and submit a ticket.

---

<div class="post-metadata">

**Author:** ![mcloud](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mcloud](https://forum.code.org/u/mcloud)\
**Post date:** [February 27, 2018, 8:01pm UTC](https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366/3 "2018-02-27T20:01:29Z")

</div>

I have told my students that the first option in a drop down menu should be something along the lines of “Select an Option”. This way the menu selection will never be the first one and will avoid this problem. This is the same solution that you have offered but has helped my students because they are familiar with drop down menus that do this.

---

<div class="post-metadata">

**Author:** ![mhutter11](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mhutter11](https://forum.code.org/u/mhutter11)\
**Post date:** [May 15, 2018, 6:09pm UTC](https://forum.code.org/t/on-dropdown-menu-the-event-is-not-triggered-if-the-first-option-option-displayed-is-the-one-that-you-want/14366/4 "2018-05-15T18:09:25Z")

</div>

I added a first option in the drop down list, " Day List"  
that way, any day selected is a “change”.  
It solved the “Monday” problem.
