阅读背景:

JS【判断输入表单是否为空、两次输入密码是否相同】

来源:互联网 

HTML:

<!DOCTYPE html>
<html>
<head>
	<title>Password Check</title>
	<link rel="stylesheet" href="/go.html?url=script03.css">
	<script src="script04.js"></script>
</head>
<body>
<form action="#">
	<p><label for="userName">Your name: <input type="text" size="30" id="userName" class="reqd"></label></p>
	<p><label for="passwd1">Choose a password: <input type="password" id="passwd1" class="reqd"></label></p>
	<p><label for="passwd2">Verify password: <input type="password" id="passwd2" class="reqd passwd1"></label></p>
	<p><input type="submit" value="Submit"> <input type="reset"></p>
</form>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
	<titl



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: