title: dynamic dropdown for file selection
body: <p>I am trying to tweak an existing .html file to add a feature. I am very new to the frontend dev env. </p>
  
  <pre><code>&lt;form action="javascript:void(0);"&gt;
      &lt;input type="button" name="Load" value="Load" onclick="fileLoad();"/&gt;
      &lt;input type="button" name="showFiles" value="Select File" onclick="selectFiles();"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I would like to have a dropdown (dynamic list). Which occurs when i click the button <code>"Select File"</code>. I have tried to use the <code>selectFiles()</code> function to achieve this. Eventhough, I can get the list of files from backend. How can i display it on the frontend</p>