Web Hosting
We've partnered with HostGator for reliable, affordable hosting starting at $3.95/mon. Use coupon code "javascriptkit25" for 25% off any package.


A link can execute a JavaScript command upon clicking (instead of loading a page). Simply use the keyword javaScript:, along with the code to execute:

Click to reload!

<a href="javaScript:window.location.reload()">Click to reload!</a>
Copyright 1997-2014 JavaScript Kit. NO PART may be reproduced without author's permission.