CodingForums Having trouble with scripting? Visit our help forum to get the answers you need.
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-2010 JavaScript Kit. NO PART may be reproduced without author's permission.