# Creating a dropdown with a button that has the same function to inject

**URL:** <https://discourse.nodered.org/t/creating-a-dropdown-with-a-button-that-has-the-same-function-to-inject/54401>\
**Category:** General\
**Created:** [28 November 2021 12:14 UTC](https://discourse.nodered.org/t/creating-a-dropdown-with-a-button-that-has-the-same-function-to-inject/54401 "2021-11-28T12:14:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nqtrung248](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nqtrung248/32/51715_2.png) [@nqtrung248](https://discourse.nodered.org/u/nqtrung248)\
**Post date:** [28 November 2021 12:14 UTC](https://discourse.nodered.org/t/creating-a-dropdown-with-a-button-that-has-the-same-function-to-inject/54401/1 "2021-11-28T12:14:32Z")

</div>

Hi, i'm new here  
Just want to ask something: so if i want to make a dropdown and a button that have the same fucntion to the inject node, what topic and payload should i set to both the dropdown and the button

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 January 2022 12:15 UTC](https://discourse.nodered.org/t/creating-a-dropdown-with-a-button-that-has-the-same-function-to-inject/54401/2 "2022-01-27T12:15:33Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
