📄 applyadd.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*,com.bean.DTO.*,com.bean.DAO.*,com.database.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../css/SMSpublic.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/SMSpublic.css" rel="stylesheet" type="text/css"/>
<script language="javascript" type="text/javascript" src="<%=request.getContextPath() %>/js/birthday.js"></script>
<script type="text/javascript" language="javascript">
function check(){
var fund = document.form1.fund.value;
var applytime = document.form1.applytime.value;
if(fund==""){
alert("费用不能为空!");
return false;
}
if(applytime==""){
alert("申请时间不能为空!");
return false;
}
if(isNaN(fund)){
alert("费用必须为数字!");
return false;
}
}
</script>
<style type="text/css">
<!--
.STYLE1 {
color: #000033;
font-size: 24px;
}
.STYLE2 {color: #9999FF}
-->
</style>
</head>
<body>
<table width="1010" border="0" height="21" bgcolor="#6495ED"cellpadding="0" cellspacing="0" >
<tr>
<td width="15%" ><font class="title1 STYLE1"> </font><span class="title1 STYLE2">填 写 审 请 表</span></td>
</tr>
</table>
<form id="form1" name="form1" method="post" action="/SMS/applyadd.do" onsubmit="return check()">
<table width="80%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td height="41" colspan="6" align="center" class="title1">填 写 审 请 表</td>
</tr>
<tr>
<td height="30" class="title2">费用数额:</td>
<td height="30" class="STYLE18"><input name="fund" type="text" class="inputcontent" id="fund"/></td>
</tr>
<tr>
<td height="30" class="title2">申请原因:</td>
<td height="30" class="STYLE18"><input name="reason" type="text" class="inputcontent" id="reason" /></td>
</tr>
<tr>
<td height="30" class="title2">申请时间:</td>
<td height="30" class="STYLE18"><input name="applytime" type="text" class="inputcontent" onfocus="show_cele_date(applytime,'','',applytime)"/></td>
</tr>
<tr>
<td height="30" colspan="2" class="STYLE18">
<input type="submit" name="Submit" value="提 交" class="button"/>
<input type="reset" name="Submit2" value="重 置" class="button"/></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -