title: Is there the opposite of click event in Jquery?
body: <p>I made a search bar with search icon. I want this, when I click the #forminput, #search will return white; and after I click another object, #search will return lightgray color. How can I do this?
  My codes:</p>
  
  <pre><code>$(document).ready(function(){
  $("#forminput").click(function(){
  $("#search").css("color", "white");
  });
  });
  </code></pre>
  
  <p>Have a nice day.</p>