jQueryUI autocomplete and progress indicator

jQueryUI autocomplete doesn’t provide native method how to show progress indicator, while your suggestion list is generated.

I managed it to do in the following way:
1. I got a suitable progress indicator from http://www.ajaxload.info/ and placed it to /img/
2. define input field for using in autocomplete method

3. create style for displaying progress indicator right in our input field

4. and at last define autocomplete method