title: JS Validation for Select multiple
body: <p>Here is the issue with Select multiple and JS validation:</p>
  
  <pre><code>&lt;select name="service_ids[]" id="service_ids" size="7" multiple=""&gt;
      &lt;option value=""&gt;-- Please Select --&lt;/option&gt;
      &lt;option value="1"&gt;S1&lt;/option&gt;
      .
      .
      .
  &lt;/select&gt;
  </code></pre>
  
  <p>The issue is that if a user selects multiple options including first option, then the follow wont work:</p>
  
  <ol>
  <li><code>document.getElementById('service_ids').selectedIndex =&gt; 0</code></li>
  <li><code>document.getElementById('service_ids').value =&gt; empty</code></li>
  </ol>