?? util.js
字號:
function validate(thisForm){
if(thisForm.logToFile.checked && (trim(thisForm.fileName.value)==null)){
alert("文件名不能為空,請填寫!");
thisForm.fileName.focus();
return false;
}
if(thisForm.logToMail.checked){
if(trim(thisForm.mailList.value) == null){
alert("E-mail不能為空,請填寫!");
thisForm.mailList.focus();
return false;
}else if(!isMail(trim(thisForm.mailList.value))){
alert("含有錯誤的E-mail地址,請修改!");
thisForm.mailList.select();
thisForm.mailList.focus();
return false;
}
if(trim(thisForm.SMTPHost.value) == null){
alert("SMTP服務器不能為空,請填寫!");
thisForm.SMTPHost.focus();
return false;
}
}
return true;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -