By Now on clicking a button it loads Visualforce Page in on click Javascript mode in a Button.
My New Requirement is,
In on click javascript Before Loading Visualforce page progress bar should appear.
I have Referred this Links
https://jsfiddle.net/kimmobrunfeldt/mxjj6jom/
I can do it with Visualforce page mode in a bUtton instaed of that i Want in Onclick Java script mode
Best Answer
Here's a self-contained example that demonstrates this. I did not use jQuery at all; you can write this fully native in Visualforce. Feel free to replace any parts you don't like.
Controller
This code just waits approximately 3 seconds so you can see how the page loads.
Page
We use apex:actionStatus to render a pretty animation while the page loads.