onBlur: function () {
var that = this,
options = that.options;
///////////////////////////////////////////////////////////////////////
if (that.selection == null) {
(options.onInvalidateSelection || $.noop).call(that.element);
}
//////////////////////////////////////////////////////////////////
// If user clicked on a suggestion, hide() will
// be canceled, otherwise close suggestions
that.blurTimeoutId = setTimeout(function () {
that.hide();
}, 200);
},
onBlur: function () { var that = this, options = that.options; /////////////////////////////////////////////////////////////////////// if (that.selection == null) { (options.onInvalidateSelection || $.noop).call(that.element); } //////////////////////////////////////////////////////////////////
is there anyother way?