How to prevent default select event in autocomplete jquery?

How to prevent default select event in autocomplete jquery?

The default action of select is to replace the text field's value with the value of the selected item. Canceling this event prevents the value from being updated, but does not prevent the menu from closing.

I want only close the popup with clicking outside(or with a custom link) of the popup. Is this not possible?

  1. $("#search").autocomplete({  select: function(event, ui) { event.preventDefault(); return false;  } });

EDIT: Here my Solution. I have modify autocomplete minified. Add cutsom options "closeOnSelect:false" and replace:
this.term=this._value(),this.close(t),this.selectedItem=i
with:
this.term=this._value(),this.options.closeOnSelect&&this.close(t),this.selectedItem=i

Thats help me.