# Toggle dropdown list via scripting

**URL:** <https://forum.inductiveautomation.com/t/toggle-dropdown-list-via-scripting/17625>\
**Category:** Ignition\
**Created:** [April 6, 2018, 3:37pm UTC](https://forum.inductiveautomation.com/t/toggle-dropdown-list-via-scripting/17625 "2018-04-06T15:37:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcrispin](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jcrispin](https://forum.inductiveautomation.com/u/jcrispin)\
**Post date:** [April 6, 2018, 3:37pm UTC](https://forum.inductiveautomation.com/t/toggle-dropdown-list-via-scripting/17625/1 "2018-04-06T15:37:19Z")

</div>

I’m trying to open the dropdown list using scripting instead of a mouse click, but not sure how to do this. Could anyone please help? Thank you in advance

---

<div class="post-metadata">

**Author:** ![ethomason](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ethomason/32/43338_2.png) [@ethomason](https://forum.inductiveautomation.com/u/ethomason)\
**Post date:** [April 6, 2018, 6:06pm UTC](https://forum.inductiveautomation.com/t/toggle-dropdown-list-via-scripting/17625/2 "2018-04-06T18:06:41Z")

</div>

`event.source.parent.getComponent('Dropdown').showPopup()`
