title: How can Select2 dropdown load results via AJAX
body: <p>I've got a simple select2 box which loads a dropdown menu.</p>
  
  <p>But what's the best way to reload the dropdown menu each time the select menu is opened with the results of an AJAX call? The ajax call would return</p>
  
  <pre><code>&lt;option value=1&gt;
  &lt;option value=2&gt;
  </code></pre>
  
  <p>and so on</p>
  
  <p>I've look through the AJAX examples on the select2 docs but it looks a little overcomplicated for what I need.
  TIA</p>