FadeOut autocomplete onclose

FadeOut autocomplete onclose

Hi There,

I use the jquery autocomplete plugin to create a list of destinations which works fine at the moment.
Our customer wants the autocomplete box to FadeOut when it's being closed or an item is selected.

Here is a piece of my code:

var input = $('input#' + boxID + '_SEARCH');
input.autocomplete('/SearchLocations_new.aspx?action=freesearch', {
        width:400,
        delay: 100,
        minChars: 1,       
        matchContains: 0,
        minChars: 0,
        parse: parseXML,       
        formatItem: formatItem,
        formatResult: formatResult
    }).result(function(event, item) {
          setAirport(item.value,item.text);
       
    });


Hope someone can help me to do this...

Thanks!