jQuery IU Autocomplete
I using jQuery-UI Autocomplete. When user types some text autocomplete send async request. But user not waiting response开发者_如何转开发 and moves to other input. How i can cancel request?
You can cancel an ajax request. Take a look at this:
Abort Ajax requests using jQuery
You should be able to bind a focusout event to your input that will kill the ajax request.
精彩评论