📄 adddailyarragement.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=1 CELLPADDING=0 ALIGN=center style="word-break:break-all;">
<TR CLASS=p9 >
<TD ALIGN=center nowrap height=25>
<FONT size=2><b>新增信息</b></FONT>
</TD>
</TR>
</TABLE>
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=3 ALIGN=center style="table-layout:fixed;word-break:break-all;">
<tr>
<td width="15%" align=right>标题:</td>
<td width="50%" ><input type="text" size="51" value="" name="txtBT" maxlength=50>(最大长度50)</td>
</tr>
<tr>
<td align=right valign=top>内容:</td>
<td width="50%" ><textarea name="txtNR" cols="50" rows="15" class=textarea1 onchange="return temp();"></textarea>(最大长度500)</td>
</tr>
<tr >
<td align=right>时间:</td>
<td >
<input type="text" name="arraytime" size="47" value="<%//=jiebanriqi%>" readonly>
<a href="#" title="点击修改时间" onClick="fPopUpDlg('calendar.htm',document.all.arraytime,'winpop',172,230);return false;">
<img src="../images/DATETIME.GIF">
</a>
</td>
</tr>
<input type=hidden name="tx" value="no">
<input type="hidden" name="txtime" size="47" value="<%//=jiebanriqi%>" readonly>
<tr height=25><TD align=center colspan=2>
<input type="button" value="提交" class=fashion onmouseover="msover();" onmouseout="msout();" onclick="return toServlet()">
<input type="button" value="返回" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="javascript:history.back();">
</td>
</tr>
</TABLE>
<script>
function toServlet()
{
if(document.all.txtNR.value.length>500){
alert("超出最大范围!");
return false;
}
if(document.all.txtBT.value=="")
{ alert("标题不能为空!"); return false; }
document.all.txt_type.value = "2";
document.all.txt_edit.value = "1";
document.all.form1.action="../../PerSvlt";
document.all.form1.submit();
return false;
}
function temp()
{
var leng = document.all.txtNR.value.length;
if(leng>500)
{
alert("超出最大范围!");
return false;
}
return true;
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -