Snippets v2

Languages
My Snippets

Use a Button as a link to another page Login or Register to Bookmark this snippet

Description HTML

This is a simple example using Javascript to change the window location when the button is clicked.

The Code Download
  1. <input type="button" name="button" value="Go Home" onclick="window.location='http://www.jc21.com'" />
Credits Contact JC

Added by JC on 12th November, 2007

Comments

There are no comments about this snippet.

Post Comment HTML is allowed

You must be registered and logged in to post a comment.

Login here to post a comment