<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=GBK">
<script type="text/javascript">
/**
* 注册
*/
function regist() {
// 如果需要在新窗口打开注册界面;
// window.open('Untitled-2.html');
// 如果需要在当前窗口打开登录界面
window.location.href = 'Untitled-2.html';
}
</script>
</head>
<body>
<form action="Untitled-3.html" name="zhuce2" method="post">
<div>用户名:<input type="text" name="username" /></div>
<div>用户名:<input type="password" name="password" /></div>
<div>
<input type="submit" name="denglu" id="button" value="登陆" />
<input type="button"name="lyp" id="button3" value="注册" οnclick="regist()"/>
</div>
</form>
</body>
</html>