title: AutoComplete Auto Select Auto Submit
body: <pre><code>&lt;script type="text/javascript"&gt;
  jQuery(document).ready(function() {
  $("#search").autocomplete({
      source:'/autocomplete.php',
      minLength:3,
      autoFocus: true,
      delay: 100,
      select: function(event, ui) {
          $("#search").val(ui.item.label);
          $("#searchForm").submit();
          }
      });
  });
  &lt;/script&gt;
  &lt;form method="post" action="/reports/report.php" id="searchForm"&gt;
      &lt;input type="text" id="search" name="q" size="35" /&gt;
      &lt;input type="submit" name="submit" value="Search" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Okay, this is the situation. This is a special case of AutoComplete. The autocomplete.php script does an exact search to return only one match. It works. What we want is that it is not displayed to the end-user. Instead, the form is auto submitted using the returned match value. Having no luck. Obviously the select: would not work in this case. Need to auto select the returned value, and then auto submit. Any ideas?</p>