title: First option automatically selected when select box with JQuery Multiselect UI by Eric Hynds is updated dynamically
body: <p>Im using the JQuery UI multiselect plugin by <a href="http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/">http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/</a> to dynamically append elements to a select box</p>
  
  <pre><code>//Make filter cars multiselect
  $("#cars_filter").multiselect({noneSelectedText:'Select cars'});
  
  function populateCarfilter(){
      var opts="&lt;option value=''&gt;Select cars&lt;/option&gt;";
      $.each(markers, function(idx, mar){
        if(mar.getVisible() &amp;&amp; mar.get("car"))
       opts+="&lt;option value='" + mar.get("id") + "'&gt;" + mar.get("driver") + " - " + mar.get("car") + "&lt;/option&gt;";
      });
  
      if($("#cars_filter").html()!=opts){
        var id = $("#cars_filter").val()
        $("#cars_filter").html(opts);
        $("#cars_filter").val(id);
        $("#cars_filter").multiselect('refresh');
      }    
  }
  
  populateCarfilter(); //This gets called every 2 secs automatically by SSE (server sent events)
  </code></pre>
  
  <p>Now, im facing a strange problem. The first option in the select box gets selected automatically everytime the select box is updated. Any way to fix this problem ?</p>
  
  <p>Thank You</p>