Follow the steps to display Progress of Ajax Request:
- Create a Spinner using Html & CSS or use Bootstrap Spinner.
- Display the Spinner when the end-user is requesting for the AJAX Data for infinite loop or for threshold limit time.
- So, after a SUCCESS / ERROR result of AJAX Request, remove the Spinner which is currently displayed and show your results.
To make it easy I recommend you using JS Classes for dynamically Displaying & Hiding the spinner for this purpose.
I Hope this helps!