title: Javascript/jQuery: Set Values (Selection) in a multiple Select
body: <p>I have a multiple select:</p>
  
  <pre><code>&lt;select name='strings' id="strings" multiple style="width:100px;"&gt;
      &lt;option value="Test"&gt;Test&lt;/option&gt;
      &lt;option value="Prof"&gt;Prof&lt;/option&gt;
      &lt;option value="Live"&gt;Live&lt;/option&gt;
      &lt;option value="Off"&gt;Off&lt;/option&gt;
      &lt;option value="On"&gt;On&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I load data from my database. Then I have a string like this:</p>
  
  <pre><code>var values="Test,Prof,Off";
  </code></pre>
  
  <p>How can I set this Values in the multiple select? Already tried change the string in an array and put it as value in the multiple, but doesnt work...!
  Can someone help me with this? THANKS!!!</p>