开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜