JQuery multiselect - Set a value as selected in the multiselect dropdown
<p>I am having a multiselect dropdown as below</p>

<pre><code>&lt;select id="data" name="data" class="data" multiple="multiple"&gt;
  &lt;option value="100"&gt;foo&lt;/option&gt;
  &lt;option value="101"&gt;bar&lt;/option&gt;
  &lt;option value="102"&gt;bat&lt;/option&gt;
  &lt;option value="103"&gt;baz&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>On load of page, i will get an array of value like [101,102].
I should iterate through the array and make the values selected(check boxes corresponding to the ids should be checked).
Please help.</p>
