xdan / autocomplete

jQuery autocomplete plugin like Google autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any method to reset the search result?

mytharcher opened this issue · comments

After I invoke $('#some-input').val(''), when I focus in the input again, the value before is still in, and result is filtered with the value.

So I wonder is there a method like .autocomplate('reset') to clear the field and result?