Hello,
See the code below
Code:
function rplclctn(){
location.replace('you address here');
}
And then to implement
Code:
<html>
<body>
<script language="JavaScript">
function rplclctn(){
location.replace('you address here');
}
</script>
<div style="background: #ff9900; width:'100%';"
align="center">
<font color="#0000ff" size="12pt">
<b>Replace Location Example</b>
</font>
</div>
<center>
<div style="background: #0099ff; width:'100%';"
align="center">
<input type="button" value="Go to
you address here"
onClick="rplclctn()" />
</div>
</center>
</body>
</html>
Bookmarks