How to Hide Autocomplete Results if the Form Gets Activated
I have a YUI autocomplete form set up here: http://www.trailbehind.com/#map.
Oftentimes, after the user searches, the autocomplete results show upa bit later, and then don't disappear.
Is it possible to have the autocomplete results NOT populate, if the form button has already been pressed? Or to hide the results if the form doesn't have focus when the results arrive back? Is there a common way to deal with this?