5 thoughts on “Display a Simple Loading Message and Animated Loading Gif Using JavaScript”

  1. Thanks for the great idea..
    I atchually didnt neede the loading gidf but wantd to know how to change css properties using java on client side and this helped alot thanks alot 🙂

  2. This was exactly what I was looking for and explained perfectly. Strange that it took my so long to find an answer for this…. I truly appreciate your work here. If you have a moment, I was wondering if you could help with a related issue.

    I have a page with a field that onChange() forces a form submit and reloads the page (to see if the entry(code) is legit, it checks a database and returns an error message if the code doesn’t exist). I would like to start a loading animation during the server request to let the user know that something is happening and to please wait. Do you know how to go about doing this?

    Thanks in advance, you are a saint.


Leave a Reply

Your email address will not be published. Required fields are marked *