title: Jquery autocomplete - do not fill input box with result
body: <p>I am using the standard Jquery UI Autocomplete which works great.</p>
  
  <p>I have a form with input ID of autoc1</p>
  
  <p>When a list of matches is returned I use onlick on the results to automatically direct a user to another page, which is filled dynamically based on their choice.</p>
  
  <p>When they click though, I would like the input to not be filled but simply wait for the onclick to fire.</p>
  
  <p>So basically clicking on a result does fill the input element with anything - is this possible?</p>
  
  <p>This is the code I use to invoke the call:</p>
  
  <pre><code>$("#autoc1").autocomplete("/autoc.php?arg=1&amp;user=&lt;? echo $user; ?&gt;");
  </code></pre>
  
  <p>Then trying the following but simply not working</p>
  
  <pre><code>$("#autoc1").autocomplete({
  select: function(event, ui){
      $('#autoc_buddy1').css('color','white');    
  }
  });
  </code></pre>
  
  <p>Also tried</p>
  
  <pre><code>$("#autoc1").autocomplete({
  select: function(event, ui) { return false; }
  });
  </code></pre>
  
  <p>Didn't work</p>