functions.js

来自「07年做得人力资源管理系统」· JavaScript 代码 · 共 22 行

JS
22
字号
function checking(flag,href){
	this.href = href;
  	if(flag==true){
  		window.alert("Sucessed!");
  		window.location.href=this.href;
  	}else{
  		window.alert("Fail to!");
  		window.history.go(-1);
  	}
}

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

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

⌨️ 快捷键说明

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