Reload a Window With a Link

 

Reload a Window With a Link

Would you like to enable your visitors to reload a window with a link? This JavaScript code may be what you’re looking for.

 
You can enable your visitors to click on, what looks like, a standard HTML link to reload your web page using JavaScript:

Reload Window  
Click the above link to reload this window

This ‘reload a window with a link’ code has a variety of uses, such as reloading your page to view changes. For example, if you’re using a script that rotates content, you may want your visitors to reload your web page by clicking on a link to view new tips, new images, new articles or whatever you’d like.

Copy and paste the following JavaScript code into your HTML where you would like the link to appear:

<a href="javascript: window.location.reload()">Reload Window</a>

This concludes the Reload a Window With a Link code.

 
 

 
 
Visit the following pages for a wealth of copy and paste codes and tips:

HTML Tips
Copy and paste special effect HTML codes for your web page.

HTML Codes
An HTML codes chart you can use to copy and paste codes into your web page.

HTML Color Codes
An HTML color codes chart you can use to copy and paste color codes into your web page.

JavaScript Codes
Copy and paste special effect JavaScript codes for your web page.

Web Design Tips
Tips, tricks, and special effect codes for your web page.

HTML Tags
A list of HTML tags.

HTML 5 Tags
A list of the latest HTML tags to be developed.

ASCII Codes
Special text characters and code for your web page.