<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>
html登陸按鈕和註冊按鈕
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.