# DropDown - Refresh list from MySQL

**URL:** <https://discourse.nodered.org/t/dropdown-refresh-list-from-mysql/13480>\
**Category:** Dashboard\
**Created:** [19 July 2019 10:39 UTC](https://discourse.nodered.org/t/dropdown-refresh-list-from-mysql/13480 "2019-07-19T10:39:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ylechasseur](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ylechasseur/32/6549_2.png) [@ylechasseur](https://discourse.nodered.org/u/ylechasseur)\
**Post date:** [19 July 2019 10:39 UTC](https://discourse.nodered.org/t/dropdown-refresh-list-from-mysql/13480/1 "2019-07-19T10:39:14Z")

</div>

Hi,  
I have several DropDown on my project.They are populated by a MYSQL query. Often, my DropDown are empty when I open the page and if I do a refresh then the data is showed on the dropdown.

I am wondering if, like in AJAX, it is possible to refresh the dropdown only when the query is executed or any idea what I may doing wrong ?

Any idea will be welcome..

Thanks for your help  
Yves
