Hello Friends
Welcome back
In this lecture we will see two other options that we can use with AJAX and that are beforeSend and complete. These are most frequently used options for AJAX. We will also display a loader while AJAX is being processed and hide that loader once the AJAX has been completed. Please watch the complete lecture for a better understanding.
I am sharing the project repository here so checkout the link and follow the instructions on the readme to setup this project on your local.
Here you go: https://github.com/ravi4rails/booksell
Here is the GIF that is used as the loader. If you wish you can use the same in the url:
https://media.tenor.com/On7kvXhzml4AA...
Thanks