📄 reckoning.jsp~9~
字号:
<%@page contentType="text/html; charset=GB2312"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<link href="yxb.css" rel="stylesheet" type="text/css"/>
<html>
<head>
<title>填写收货人信息</title>
<script type="text/javascript" language="javascript">
function sss(){
var truename = document.form1.truename.value;
var address = document.form1.address.value;
var phone = document.form1.phone.value;
var mail = document.form1.mail.value;
if(truename.length==0)
{
alert("用户名不能为空");
document.form1.truename.focus();
return false;
}
if(address.length==0)
{
alert("用户名不能为空");
document.form1.address.focus();
return false;
}
if(phone.length==0)
{
alert("用户名不能为空");
document.form1.phone.focus();
return false;
}
if(mail.length==0)
{
alert("用户名不能为空");
document.form1.mail.focus();
return false;
}
}
</script>
</head>
<body bgcolor="#ffffff">
<h1 align="center">填写收货人信息</h1>
<form method="post" action="/WebModule/reckoningservlet" name="form1" onsubmit="return sss()">
<table align="center">
<tr>
<td>真实姓名:</td>
<td>
<input type="text" name="truename" size="15"/>
</td>
</tr>
<tr>
<td>收货地址:</td>
<td>
<input type="text" name="address" size="30"/>
</td>
</tr>
<tr>
<td>联系电话:</td>
<td>
<input type="text" name="phone" size="15"/>
</td>
</tr>
<tr>
<td>邮编地址:</td>
<td>
<input type="text" name="mail" size="15"/>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="确定收货人信息"/>
<input type="reset" value="取消"/>
</td>
</tr>
</table>
<hr/>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -