remove spinner from jquery ui autocomplete if nothing found

前端 未结 5 586
忘掉有多难
忘掉有多难 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:53

    You can edit the CSS and remove the spinner.

    $("object_that_has_the_spinner").removeClass( "ui-autocomplete-loading" );

提交回复
热议问题