title: Show entered text in jquery autocomplete list
body: <p>I've got a jquery mobile autocomplete form/list. I want to display the entered text, from the input field, as the first option in the list. This works fine, however, this custom list item is not getting styled as the rest of the list items. This is only evident when a single character is pressed. When a second character is entered the style is formatted as it should be.</p>
  
  <p>I'm using the following code to register the keys being pressed:</p>
  
  <pre><code>    $('#searchdiv').keyup(function() {
          $('#searchInput a').html($('#searchdiv input').val());
  
          if($('#searchdiv input').val().length == 0) {
              $('#searchInput').hide();
          }
          else {
              $('#searchInput').show();
          }
      });
  </code></pre>
  
  <p>See full example here: <a href="http://jsfiddle.net/TAU82/" rel="nofollow">http://jsfiddle.net/TAU82/</a></p>
  
  <p>Is it possible to update the styles when the first character is pressed?</p>
  
  <p>Thank you</p>