⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addcommmeetinput.jsp

📁 JSP物业管理系统 一份比较完整的物业管理系统源码。 对于初学者可以有一定的借鉴。
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
********************************************************************************************************
* 系统名称:PMS
* 程序名称:AddCommMeetInput.jsp
* 程序类型:jsp
* 功能简述:增加业主委员会会议的输入页面
* 作    者:任浩宽
* 公    司:ccvanda																			
* 完成时间:2001-08-28
* 修 改 人:毕锋
* 修改内容:页面
* 修改日期:2001/11/16/27
********************************************************************************************************
--> 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<title></title>
<base target="main">
<script language="JavaScript" src="/pmsApp/common/wuye.js"></script>
<script language="JavaScript" src="/pmsApp/common/admin.js"></script>
<link rel="stylesheet" href="/pmsApp/css/wuye.css" type="text/css">
<script language="javascript">
 function existedData() {
	now=new Date();
	y=now.getYear();
	m=1+now.getMonth();
	d=now.getDate();
	h=now.getHours();
	t=now.getMinutes();
	s=now.getSeconds();
	for(var i = 0; i < 10; i++) {
      if(document.form1.select1[i].value == y) {
        document.form1.select1[i].selected = true;
        break;
      }
    }
	
    for(var i = 0; i < 12; i++) {
      if(document.form1.select2[i].value == m) {
        document.form1.select2[i].selected = true;
        break;
      }
    }
    for(var i = 0; i < 31; i++) {
      if(document.form1.select3[i].value == d)
	  {
        document.form1.select3[i].selected = true;
        break;
      }
    }
    for(var i = 0; i < 24; i++) {
      if(document.form1.select4[i].value == h) {
        document.form1.select4[i].selected = true;
        break;
      }
    }
    for(var i = 0; i < 60; i++) {
      if(document.form1.select5[i].value == t) {
        document.form1.select5[i].selected = true;
        break;
      }
    }
	
  }
</script>
<script language="JavaScript">
<!--
function verify()
{
 Nvoid(form1);
	var submitindex=true;
	if(submitindex){
		if(document.form1.mythos.value.length>15){
			alert("会议主题长度超过了15个汉字");
			submitindex=false;
			document.form1.mythos.focus();
		}else{
			if(document.form1.mythos.value.length==0){
				alert("请填写会议主题");
				submitindex=false;
				document.form1.mythos.focus();
			};
		};
	};
	if(submitindex){
		if(document.form1.agenda.value.length>100){
			alert("议程字段长度超过了100个汉字");
			submitindex=false;
			document.form1.agenda.focus();
	};
	};
	if(submitindex){
		if(document.form1.exponent.value.length>100){
			alert("内容字段长度超过了100个汉字");
			submitindex=false;
			document.form1.exponent.focus();
		
		
	};
	};	
	if(submitindex)
	{
		if(document.form1.select1.value==0000){
			alert("请指定会议年份");
			submitindex=false;
			document.form1.select1.focus();
		}
	}
	if(submitindex)
	{
		if(document.form1.select2.value==00){
			alert("请指定会议月份");
			submitindex=false;
			document.form1.select2.focus();
		}
	}
	if(submitindex)
	{
		if(document.form1.select3.value==00){
			alert("请指定会议日期");
			submitindex=false;
			document.form1.select3.focus();
		}
	}
	if(submitindex)
	{
		if(document.form1.select4.value==00){
			alert("请指定小时");
			submitindex=false;
			document.form1.select4.focus();
		}
	}
	if(submitindex)
	{
		if(document.form1.select5.value==60){
			alert("请指定分钟");
			submitindex=false;
			document.form1.select5.focus();
		}
	}
	
	
	if(submitindex){
		if(document.form1.place.value.length>15){
			alert("地点字段长度超过了15个汉字");
			submitindex=false;
			document.form1.place.focus();
		
	}
	};
	if(submitindex){
		if(document.form1.people.value.length>100){
			alert("与会人员字段长度超过了100个汉字");
			submitindex=false;
			document.form1.people.focus();
		
	}
	};
	if(submitindex){
		if(document.form1.sum.value.length>100){
			alert("会议纪要字段长度超过了100个汉字");
			submitindex=false;
			document.form1.sum.focus();
		
	}
	};
	if(submitindex){
		if(document.form1.decide.value.length>100){
			alert("会议决定超过了100个汉字");
			submitindex=false;
			document.form1.decide.focus();
		
	}
	};
	if(submitindex)
	{
		if(document.form1.remark.value.length>100){
			alert("备注字段长度超过了100个汉字");
			submitindex=false;
			document.form1.remark.focus();
		}
	}
	
	
	if(submitindex){
		handleForm(form1);
	}
}

function trover(trid){
	trid.className="trover";
}
function trout(trid){
	trid.className="trout";
}

function MM_swapImgRestore() {// v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() {// v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) {// v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() {// v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function handleForm(inputForm) {
    
	var str="";
	var del2="☆";
	var del ="※";
	for (i=0; i<inputForm.elements.length; i++)
	{
		if ((inputForm.elements[i].name.toUpperCase() != "RESET") &&
			(inputForm.elements[i].name.toUpperCase() != "SUBMIT"))
		{
			if ((inputForm.elements[i].type == "radio") ||
				(inputForm.elements[i].type == "checkbox"))
			{
				if (inputForm.elements[i].checked)
				{
					str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
				}
			}
			else if (inputForm.elements[i].type == "select-one")
			{
				str = str+inputForm.elements[i].name
						+del2+inputForm.elements[i].options[inputForm.elements[i].selectedIndex].value+del;
			}
			else
			{
				str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
			}
		}
	}
	str=str.substr(0,str.length-del.length);
			
	inputStr=str;

	document.hiddenForm.inputString.value=str;
	document.hiddenForm.submit();

}
//-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -