📄 isorwin.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<title>
isorWin
</title>
<script language="JavaScript">
function checkform()
{
var fla = true;
if(document.form1.lotteryNum.value == null)
{
fla = false;
alert('彩票号不能为空!');
document.form1.lotteryNum.focus();
}
else if(document.form1.qiNum.value == null)
{
fla = false;
alert('期号不能为空!');
document.form1.qiNum.focus();
}
if(fla == true)
{
document.form1.submit();
}
}
</script>
</head>
<body bgcolor="#ffffff">
<%
String username = (String)session.getAttribute("username");
if(username == null)
{
%>
<script language="JavaScript">
self.location="login.jsp";
</script>
<%
}
%>
<form name="form1" method="post" action="pro_isorWin.jsp">
<table width="43%" border="1" cellpadding="1">
<tr bordercolor="#3366FF">
<td colspan="2" bgcolor="#00FFFF"><div align="center"><font color="#993300" size="5" face="华文新魏">中奖情况查询功能</font></div></td>
</tr>
<tr bordercolor="#3366FF">
<td width="39%"><div align="center"><font color="#993300" size="2">请输入彩票号:</font></div></td>
<td width="61%"><div align="left">
<input name="lotteryNum" type="text" id="lotteryNum" size="20" maxlength="10">
</div></td>
</tr>
<tr bordercolor="#3366FF">
<td><div align="center"><font color="#993300" size="2">请输入期号:</font></div></td>
<td><input name="qiNum" type="text" id="qiNum" size="20" maxlength="10"></td>
</tr>
<tr bordercolor="#3366FF">
<td colspan="2"><div align="center">
<input type="button" name="Submit" value="查询" onClick="checkform()">
<input type="reset" name="Submit2" value="重填">
</div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -