<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>登錄</title>
<link rel="stylesheet" type="text/css" href="https://bbs.csdn.net/topics/css/style.css">
<script type="text/javascript" src="https://bbs.csdn.net/topics/js/jquery.min.js"></script>
<script type="text/javascript" src="https://bbs.csdn.net/topics/js/vector.js"></script>
</head>
<body>
<input id="uname" >
<button id="btn">提交</button>
<div id="container">
<div id="output">
<div class="containerT">
<h1>用戶登錄</h1>
<form action='../微博/微博.html' onsubmit="return fn()">
<input type="text" name="userName" value="https://bbs.csdn.net/topics/admin" />
<input type="password" name="passWord" />
<button type="submit" >登錄</button>
</form>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
Victor("container", "output");
$("#entry_name").focus();
$(document).keydown(function(event){
});
});
</script>
<div style="text-align:center;">
</div>
</body>
</html>
uj5u.com熱心網友回復:
在js中做簡單判斷,或者講表單資料提交給servlet,在servlet中接收提交過來的資料,再做判斷,也可以在接收資料后,連接資料庫在資料庫中查找密碼,并且將在資料庫查找的密碼與接收的密碼做一下比較轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/105380.html
標籤:HTML(CSS)
上一篇:如何獲取百度地圖鄉鎮的邊界
