title: Selecting multiple from an html select element without using ctrl key
body: <p>I've come across various solutions to this issue on the net.</p>
  
  <p>Basically, I find having to hold down ctrl a bit cheesy, and I want the select list to just select whatever I click on and add it to the currently selected items.</p>
  
  <p>I've already got this code:</p>
  
  <pre><code>    $("select[multiple] option").mousedown(function () {
          var $self = $(this);            
  
          if ($self.attr("selected")) {                
              $self.removeAttr("selected", "");
          }
          else {
              $self.attr("selected", "selected");
          }
  
          return false;            
      });
  </code></pre>
  
  <p>Element:</p>
  
  <pre><code>    &lt;select multiple id="WOStatusKey" name="WOStatusKey"&gt;                
          &lt;option value="1"&gt;Created&lt;/option&gt;
          &lt;option value="2"&gt;In Process&lt;/option&gt;
          &lt;!-- etc. (about 20 of these) --&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>It works fine with one exception: any time something is selected/deselected that is not at the top of the list (where you have to scroll to see it) then it pops back up to the top after you select it.  I've played around with it a little bit but can't figure out anything to prevent this behavior.  Also, I've seen a couple other solutions to this problem, although nothing that either works or works well.</p>
  
  <p>I only need this to work in Chrome.  Also, I am not interested in any alternative solutions to using a select list.</p>
  
  <p>Thank you for any help, it is much appreciated.</p>