How to create a reload page button

To create a reload page button you can use the following code snippet.

Sample Javascript

<input type="button" value="Reload Page" onclick="window.location.reload()" />

Please Share us:
Please rate this snippet

2 thoughts on “How to create a reload page button

Leave a Reply