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.
Hook your button up with the same id that you have in the above code.
<img src="button.jpg" id="resetButton">
That’s all there is to it!