<html><head><title>Button Redirect</title> <script language="javascript"> <!-- function NewPage() { document.location.href= "http://www.java2java.com" } //--> </script> <body> <input type="button" value="Link" onClick="NewPage()"> </body></html>