title: Is it possible to set different select2 parameters at different times?
body: <p>From playing around I can see that this code</p>
  
  <pre><code>$("#Selected3").select2({ minimumInputLength: 3 });
  $("#Selected3").select2({ placeholder: "Show a placeholder" });
  </code></pre>
  
  <p>will show me the placeholder but remove the minimumInputLength parameters value.</p>
  
  <p>Does anyone know a way please that this example could be modified so that the placeholder will be added without losing the minimum..Length value.</p>
  
  <p>Any answers will need to allow for the possibility of the statements being in separate files, i.e. one on the page and another in a referenced .js file.</p>
  
  <p>I am aware that this would be much easier if I set all the parameters at once, e.g.</p>
  
  <pre><code>$("#Selected3").select2({
          minimumInputLength: 3,
          placeholder: "Show a placeholder"
      });
  </code></pre>
  
  <p>but I am working within a framework which won't currently allow that.</p>
  
  <p>EDIT: For anyone who is willing to give this a shot but doesn't know select2 the library comes from here <a href="https://github.com/ivaynberg/select2/wiki" rel="nofollow">Select2 on GitHub</a></p>