title: jquery ui autocomplete - open event (handling no results)
body: <p>I wanted to use the open event to return "no results found" when ui == null but in firebug it looks like that even after the open event is fired the ui list is always empty even if there are results.</p>
  
  <p>My source is an XML file</p>
  
  <p>I'm attempting:</p>
  
  <pre><code>open: function(event,ui) {
    if( ui.item == null ) {
    console.log("no results");
    }
  } 
  </code></pre>