title: Removing fadeOut in jQuery search suggestions
body: <p>I have a search suggestion script written in jQuery which uses the jQuery framework file to work. The fadeOut function on line 3 is used for hiding the content when there is no text in the search box. However, I do not like the fade function. My question is; How can I removed the fade effect but still make the contents disappear?</p>
  
  <p>I have posted a copy of my code here:</p>
  
  <pre><code>function lookup(inputString){
  if (inputString.length==0){
  $('#suggestions').fadeOut();
  } else{
  $.post("suggestions.php",{
  queryString: "" + inputString + ""
  }, function(data){
  $('#suggestions').html(data);
  });
  }
  }
  </code></pre>
  
  <p>Thanks in advance, Callum</p>