# Need a Dropdown Component Trigger off of completed selection

**URL:** <https://forum.inductiveautomation.com/t/need-a-dropdown-component-trigger-off-of-completed-selection/15039>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [August 10, 2017, 9:08pm UTC](https://forum.inductiveautomation.com/t/need-a-dropdown-component-trigger-off-of-completed-selection/15039 "2017-08-10T21:08:52Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![SeraSera](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@SeraSera](https://forum.inductiveautomation.com/u/SeraSera)\
**Post date:** [September 19, 2017, 5:45pm UTC](https://forum.inductiveautomation.com/t/need-a-dropdown-component-trigger-off-of-completed-selection/15039/13 "2017-09-19T17:45:34Z")

</div>

Try replacing the DD with a reference to the DropDown Object.

Let me see if I can find an example.

```auto
#Pull a Reference to the DropDown Object you want to 
YourOwnDD = event.source.parent.getComponent('dd_Filter')

#Then branch from there
#If you call from an event generator on the dropdown
event.source.addPopupMenuListener(myPopUpMenuListener(YourOwnDD))

#If you call from anywhere else.
YourOwnDD.addPopupMenuListener(myPopUpMenuListener(YourOwnDD))

#If you call from a a custom method.
self.addPopupMenuListener(myPopUpMenuListener(YourOwnDD))

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/need-a-dropdown-component-trigger-off-of-completed-selection/15039)._
