Show dropdown when i click button

i have an required that when i click a button a dropdown should be shown
when i click the data in dropdown , a set of other text should be shown…how can do this in scripting?

you could open several popups, or one with a dynamic canvas

Hi @vani161998, is this Vision or Perspective?