How to add Check box to JQuery Select2 plugin
<p>I am using jquery select2 plugin for multiple select. Here I want to add a checkbox for each select option.</p>

<p>The dropdown option should be selected based on the checkbox checked/unchecked attr.</p>

<p><strong>HTML:</strong></p>

<pre><code>&lt;select multiple="multiple" id="e1" style="width:300px"&gt;
    &lt;option value="AL" selected&gt; Alabama&lt;/option&gt;
    &lt;option value="Am"&gt;Amalapuram&lt;/option&gt;
    &lt;option value="An"&gt;Anakapalli&lt;/option&gt;
    &lt;option value="Ak"&gt;Akkayapalem&lt;/option&gt;
    &lt;option value="WY"&gt;Wyoming&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p><strong>JS:</strong></p>

<pre><code>$("#e1").select2();
</code></pre>

<p><strong><a href="http://jsfiddle.net/jEADR/3149/" rel="nofollow">Demo</a></strong></p>