title: Setting default values in select2 with AJAX call?
body: <p>I have two examples. </p>
  
  <p>This one is with a normal select2 with static inputs which works with default fields beforehand:
  <a href="http://jsfiddle.net/z96Ca/2/" rel="noreferrer">http://jsfiddle.net/z96Ca/2/</a></p>
  
  <p>Next is a select2 with an ajax call and the default values are not being added into the box - why?!
  <a href="http://jsfiddle.net/z96Ca/1/" rel="noreferrer">http://jsfiddle.net/z96Ca/1/</a></p>
  
  <p>I've been fiddling for a while but can't work out how to add the values beforehand when there's an ajax call as well.</p>
  
  <p>Here's the line that usually adds the code beforehand:</p>
  
  <pre><code>$(test).val(["test1","test2"]).trigger("change");
  </code></pre>
  
  <p>Hope I'm clear enough</p>
  
  <p>Thanks a lot</p>