Sunday, 16 March 2014

Reload Page Button Using Javascript

Reload Page Button Using Javascript

Sometime we need a reload button to get the updated information or to perform certain activities on page load event. In such scenarios this Javascript Page reload button can be used to achieve such goals.. 

Refer the Code Snippet below which refreshes the current time whenever the Reload button is pressed..

<title>Reload Page Button</title>

var d=new Date();

<INPUT Type="button" VALUE="Reload Page" onClick="history.go(0)">

No comments:

Post a Comment

Thank You for Your Comments. We will get back to you soon.

back to top