Reputation: 4609
Is there any way to show a loading element when user click on a link or any thing that cause page start to reload , until browser start to show server response?
Upvotes: 0
Views: 320
Reputation: 26737
you have to write a JavaScript function that shows the element that contains your loading mock up when you click let's say a button.
The page render will override that as soon as the server response back.
if you are familiar with JQuery and Ajax the best way would be to use an asyn post.
Upvotes: 1