📄 person.js
字号:
/**
* 登陆验证
* Songzou
*
***/
function checkLogin(obj){
if(checkEmptys("loginUserCode","请填写登陆帐户!")){return ;}
if(checkEmptys("loginPassword","请填写登陆密码!")){return ;}
if(checkEmptys("charRandomCode","请填写验证码!")){return ;}
var sFeatures = "toolbar=no, menubar=no, scrollbars=yes, resizable=yes, "
+ "location=no, status=no,titlebar=no, width=" + (screen.width) + ", "
+ "height=" + (screen.height) + ", top=0, left=0";
var winName = 'main' + randomNum();
window.open("about:blank", winName, sFeatures);
var loginForm = obj.form;
loginForm.target = winName;
loginForm.submit();
window.self.opener = null;
window.self.close();
}
function seeRandomCode(){
window.frames['img'].location.reload();
//var url = "loginAction.do" ;
//var para = "method=loginCheckCode" ;
//MyAjax(url,para,'post',showSeeRandom) ;
}
function showSeeRandom(thisResponse){
alert(getObject('img').children[0].src);
alert(thisResponse.responseStream);
getObject('img').innerHTML = thisResponse;
getObject('img').children[0].src = thisResponse.responseStream;
}
///**
//* 登出
//* Songzou
//*
//**/
//function loginOut(){
// if(confirm('确定要退出麽?')){
// link('loginAction.do?method=loginOut');
// }
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -