Display spinner with jQuery-ui autocomplete
问题 I've been searching all over the place and just don't see anyone doing it - Is it possible to have some kind of spinner/loader with a jQuery UI Autocomplete? (1.8) while data is being fetched? 回答1: You should be able to put a spinner image next to the field with the autocomplete and hide it initially. Then use the callback functions to hide/show it. Then use the search option to show the spinner and open to hide it: v1.8 and below $( ".selector" ).autocomplete({ search: function(event, ui) {