<html>
<head>
<title></title>
<script language="javascript" type="text/javascript">
window.onload = function(){
document.getElementById("buta").onclick = function(){
location.href = "welcom.htm";
}
}
</script>
</head>
<body>
<input type="button" value="链接" id="buta"/>
</body>
</html>