title: jQuery select2 get value of select tag?
body: <p>Hello friends this is my code:</p>
  
  <pre><code>&lt;select id='first'&gt;
    &lt;option value='1'&gt; First  &lt;/option&gt;
    &lt;option value='2'&gt; Second &lt;/option&gt;
    &lt;option value='3'&gt; Three  &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>This is my select2 code:</p>
  
  <pre><code>$("#first").select2();
  </code></pre>
  
  <p>Below is code for getting selected value.</p>
  
  <pre><code>$("#first").select2('val'); // It returns first,second,three.
  </code></pre>
  
  <p>This is return a text like <code>first,second,three</code> and I want to get <code>1,2,3</code>.<br>
  Means I need the value of select box, not text.</p>