aaaa
This commit is contained in:
29
teaching/heshubao/login.html
Normal file
29
teaching/heshubao/login.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<!--
|
||||
html (结构)
|
||||
css(样式)
|
||||
js(交互)
|
||||
-->
|
||||
<script>
|
||||
function save(){
|
||||
var account=document.getElementById("account").value
|
||||
var pwd=document.getElementById("pwd").value
|
||||
// document.write(account)
|
||||
console.log(account)
|
||||
console.log(pwd)
|
||||
// alert('hello 贺树宝')
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
帐号:<input type="text" id="account" value="">
|
||||
密码:<input type="password" id="pwd">
|
||||
<button onclick="save()">提交</button>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user