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

📄 verify_up.js

📁 Activity——活动管理模块 Analyse——分析模块 Client——客户管理系统模块 Email——E-mail管理模块 Fee——费用管理模块 Report——报表模块 Sel
💻 JS
字号:
<script language='javascript'>
<!--
function UserEnter()
{
  if(window.document.fm.operator_name.value.length<1){
   alert("请您填写用户名!");
	document.fm.operator_name.focus();
   return;}
  if(window.document.fm.operator_pwd.value.length<1){
   alert("请您填写密码!");
	document.fm.operator_pwd.focus();
   return;}
   	if (document.fm.operator_name.value.indexOf("<")!=-1 || document.fm.operator_name.value.indexOf(">")!=-1){
		alert("用户名中不能包含 (<,>) ");
		document.fm.operator_name.focus();
		return ;
	}
	if (document.fm.operator_name.value.indexOf("'")!=-1){
		alert("用户名中不能包含 (') ");
		document.fm.operator_name.focus();
		return ;
	}
	
  window.document.fm.submit();
	return true;
}

function window_onload()
{
     window.document.fm.screenwidth.value=window.screen.width;
    window.document.fm.operator_name.focus();
}

function name_next(code)
{
  var charcode=(navigator.appName=="Netscape")?code.which:code.keyCode;
  if(charcode==13)
    {
      window.document.fm.operator_pwd.focus();
    }
}
function pwd_next(code)
{
  var charcode=(navigator.appName=="Netscape")?code.which:code.keyCode;
  if(charcode==13)
    {
      UserEnter();
    }
}
-->
</script>

⌨️ 快捷键说明

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