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

📄 functions.js

📁 07年做得人力资源管理系统
💻 JS
字号:
function checking(flag,href){
	this.href = href;
  	if(flag==true){
  		window.alert("Sucessed!");
  		window.location.href=this.href;
  	}else{
  		window.alert("The Information is not full!");
  		window.history.go(-1);
  	}
}

function warnDate(sings,flag,href){
	this.href = href;	
	
	switch(sings){
		case 1:	window.alert("Sorry!The Date is wrong!");
  				window.history.go(-1);break;
  		case 2:	window.alert("Sorry!The Grade's length is one!");
  				window.history.go(-1);break;
  		case 3:	window.alert("Sorry!The Information is not full!");
  				window.history.go(-1);break;
  		default:checking(flag,href);  			
	}
}

function del(id){
  	this.id=id;		  			
  	if(window.confirm("Do you want to delete this Record")==true){
  		window.location.href="ProcessDel.jsp?id="+this.id;
  	}
}

function backPage(){
  	window.history.go(-1); 		
}

⌨️ 快捷键说明

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