I was coding a page the other day and needed to have a button that could refresh the webpage when pressed. Turns out jQuery can take care of this rather easily. Check out the demo below, and keep reading for the code.
First hook your page to jQuery in the head of your page.
Then add the following code below that (still in the head of your document).
Hook your button up with the same id that you have in the above code.
That’s all there is to it!