📄 chkinfoupdate.js
字号:
<!--
function isok(theform)
{
if (theform.name.value=="")
{
alert("称呼不能为空!");
theform.name.focus();
return (false);
}
if ((theform.idcard.value.length!=18) && (theform.idcard.value.length!=15))
{
alert("身份证号错误");
theform.idcard.focus();
return (false);
}
if (theform.addr2.value=="")
{
alert("居住地标志不能为空!");
theform.addr2.focus();
return (false);
}
if (theform.tel.value=="")
{
alert("电话不能为空!");
theform.tel.focus();
return (false);
}
if (theform.tel.value.length<7)
{
alert("电话不应该小于7位数!");
theform.tel.focus();
return (false);
}
if (theform.addr.value=="")
{
alert("交易住址不能为空!");
theform.addr.focus();
return (false);
}
if (theform.zip.value=="")
{
alert("邮政编码要写呀!")
theform.zip.focus()
return false
}
return (true);
}
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -