WebRoot/gongyi/gongyiadd.jsp

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("gb2312");//设置页面字符集
DBO db=new DBO();//初始数据链接
/*
工艺信息添加页面
*/
%>
<!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=gb2312" />
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<link rel="stylesheet" type="text/css" media="screen" href="../css/tinyTips.css" />

<script language="javascript">
function checkDo(){
if(form.bt.value==""){
alert("标题不能为空");
return false;
form.bt.focus();
}

if(form.nr.value==""){
alert("内容不能为空");
return false;
form.nr.focus();
}

if(form.kh.value==""){
alert("客户不能为空");
return false;
form.kh.focus();
}

if(form.gp.value==""){
alert("钢片不能为空");
return false;
form.gp.focus();
}

if(form.mccl.value==""){
alert("摩擦材料不能为空");
return false;
form.mccl.focus();
}

if(form.fj.value==""){
alert("附件不能为空");
return false;
form.fj.focus();
}

if(form.pf.value==""){
alert("配方不能为空");
return false;
form.pf.focus();
}

后面还有 141 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。