title: How to update <select> options in my case?
body: <p>I have a select field and a button:</p>
  
  <pre><code>&lt;select id="mylist"&gt;&lt;/select&gt;
  &lt;input type="button" id="btn" value="update"&gt;
  </code></pre>
  
  <p>my js code:</p>
  
  <pre><code>var btn=$('#btn');
  btn.click(function(){
     var optionList = GET_LIST();// GET_LIST() returns a array of strings which is the option texts.
  
     //How to use optionList to update the options in &lt;select&gt; ?
  });
  </code></pre>
  
  <p>How to update my options list with <code>optionList</code> in select tag ?</p>