Skip to content Skip to sidebar Skip to footer

Jquery Ui Ui-autocomplete-loading Spinner Not Stopping/disappear When Found Results

I am using JQuery UI autocomplete-loading spinner in my project by adding .ui-autocomplete-loading class. When I start typing in the editor box, the spinner shows up as expect. If

Solution 1:

In Ajax success method you can simply remove class from textbox using .removeClass function

$("#textboxid").removeClass("ui-autocomplete-loading");

Solution 2:

Thanks for Curiousdev's input and after my further debugging I found a solution.

Add

$("#Name").removeClass("ui-autocomplete-loading");

in both success and complete method will resolve this issue.

Post a Comment for "Jquery Ui Ui-autocomplete-loading Spinner Not Stopping/disappear When Found Results"