remove spinner from jquery ui autocomplete if nothing found

前端 未结 5 556
忘掉有多难
忘掉有多难 2021-01-12 16:10

I want to remove the spinner (picture which shows that it is loading) from the textfield which supports jquery ui autocomplete. As there is no event for \"no results returne

5条回答
  •  终归单人心
    2021-01-12 16:56

    If you're stuck on an older version of jQuery ui, the right answer is to use the class ui-autocomplete-loading, which gets added and removed while the request/response is in flight.

提交回复
热议问题