title: select2 multiselect ajax php
body: <p>I'm try to fill my multiple select2 using ajax, but i don't have return on field.</p>
  
  <p>That's my HTML code:</p>
  
  <pre><code>&lt;input type="hidden" id="instituicaoSel" tabindex="-1" class="select2-offscreen" value=""&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>$('#instituicaoSel').select2(
  {
      placeholder: "Escolha uma ou mais instituições",
      minimumInputLength: 1,
      width: '100%',
      multiple: true,
      ajax: {
          url: basepath + "perfil/buscarInstituicoes",
          dataType: 'json',
          quietMillis: 100,
          data: function (term, page) {
              return {
              q: term, 
              page_limit: 10,
              page: page 
              };
          },
          results: function (data, page)
          {
              var more = (page * 10) &lt; data.total;
              return { results: data.results, more: more };
          },
          dropdownCssClass: "bigdrop"
      }
  });
  </code></pre>
  
  <p>And that is my result on ajax:</p>
  
  <pre><code>[{"result":[{"id":"1","text":"Ag\u00eancia Brasileira de Desenvolvimento Industrial"}],"total":1}]
  </code></pre>
  
  <p>The value that I put on placeholder don't is shown.</p>