我想给按钮加跳转到其他页面的链接
我想给按钮加跳转到其他页面的链接,改怎么写?
我写了一个,不管用
<html><head>
<meta http-equiv="Content-type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function url(){
var url;
url="http://www.google.com";
return;
}
//-->
</script>
</head>
<body bgcolor=#ffffff topmargin=5 marginheight=5>
<center>
<input type=button value=写邮件 class=fm01 onclick="url()">
</center>
</body></html>