title: Deselect after focus
body: <p>I am switching between different projects by on change event on select element. I am getting them from DB. But before loading different project i have to store name of previous one.For that i am using on focus event.</p>
  
  <p>How can i then deselect my select element?</p>
  
  <blockquote>
    <p>document.getElementById("selectProject").selected = false;</p>
  </blockquote>
  
  <p>is not working.</p>
  
  <pre><code> var whichProjectToSave;
  
      function onFocusSelectProject(){
      //for saveJsonF();
      whichProjectToSave=document.getElementById("selectProject").value;
      }
  
  
  function callSettingswindow(){       
   saveJsonF();
   canvas.clear();
   getJsonF();////////////////////////////////////                              
   document.getElementById("selectProject").selected = false;   
  }    
  document.getElementById("selectProject").onchange= callSettingswindow;
  </code></pre>
  
  <p>To make it clear: How to deselect "select" element after change is performed?</p>