📄 denglu.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head>
<title>登陆</title>
<script language="JavaScript" >
function isValid(form)
{
if(form.fullname.value=="")
{alert("您的姓名不能为空!");
return false;}
else
if(form.pwd.value=="")
{alert("您的密码不能为空!");
return false;}
else
{return true}
}
</script>
</head>
<body>
<table align="center" border="1" cellpadding="0" cellspacing="0" width="400" height="267" >
<form action="dlqr.jsp" method="post" onsubmit="return isValid(this);">
<tr>
<td width="100%" height="34"> <b>登陆</b></td>
</tr>
<tr>
<td Bgcolor="Silver" width="100%" height="126"> <p>
姓名:<INPUT type="text" name="fullname" size="19">
</p>
<p>
密码:<INPUT type="password" name="pwd" size="20"></p>
<p>
<INPUT type="submit" value=" 确定 " ></p>
</TD>
</tr>
<tr>
<td width="100%" height="32"> <b>注册</b></td>
</tr>
<tr>
<td Bgcolor="Silver" width="100%" height="51" action="zhuce.jsp" >
<input type='button' VALUE="立即填写" onclick="window.open('zhuce.jsp')">
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -