📄 chkreg.js
字号:
<!--
function isok(theform)
{
if (theform.username.value=="")
{
alert("用户名不能为空!");
theform.username.focus();
return (false);
}
if (theform.email.value=="")
{
alert("email不能为空!");
theform.email.focus();
return (false);
}
if (theform.email.value.indexOf("'",0) >= 0 || theform.email.value.indexOf(" ",0) >= 0)
{
alert("电子邮件中不能包含空格,单引号等非法字符!")
theform.email.focus()
return false
}
if (theform.email.value.indexOf("@",0) < 0 || theform.email.value.indexOf(".",0) < 0)
{
alert("邮件地址错误!")
theform.email.focus()
return false
}
return (true);
}
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -