¡@

Home 

2014/10/16 ¤W¤È 12:02:05

jquery Programming Glossary: autocompletesearchcomplete

Detecting no results on jQuery UI autocomplete

http://stackoverflow.com/questions/4718968/detecting-no-results-on-jquery-ui-autocomplete

.ui.autocomplete.prototype._response function content __response.apply this content this.element.trigger autocompletesearchcomplete content And then bind an event handler to the autocompletesearchcomplete event contents is the result of the search an array.. this content this.element.trigger autocompletesearchcomplete content And then bind an event handler to the autocompletesearchcomplete event contents is the result of the search an array input .bind autocompletesearchcomplete function event contents #results.. an event handler to the autocompletesearchcomplete event contents is the result of the search an array input .bind autocompletesearchcomplete function event contents #results .html contents.length What's going on here is that you're saving autocomplete's response..