title: How to delete "selected" attribute from option using jquery
body: <p>I want to remove the "selected" attribute from an option element when I uncheck this. I dont want to make value false or anything... I just want to delete this property. My code is like</p>
  
  <pre><code>$(function() {
    $("#deployselect").multiselect({
      click: function( event, ui ) {
        if(ui.checked==false){
          $("#deployselect option[value='"+ui.value+"']").removeAttr("selected");
        }
      }
    });
  });
  </code></pre>
  
  <p>My generated HTML is like this</p>
  
  <pre><code>&lt;option value="68" selected&gt;A1&lt;/option&gt;
  &lt;option value="49" selected&gt;A2&lt;/option&gt;
  &lt;option value="69" selected&gt;A3&lt;/option&gt;
  </code></pre>
  
  <p>so even i make "attr" or "prop" false it is not working. :(</p>