📄 stopfw.php
字号:
<?
include "../check.php"
?>
<?
include "../sql.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript">
function numericCheck(){
var x=true;
var nr1=document.form1.lsh.value;
var flg=0;
var str="";
var spc=""
var arw="";
for (var i=0;i<nr1.length;i++){
cmp="0123456789"
tst=nr1.substring(i,i+1)
if (cmp.indexOf(tst)<0){
flg++;
str+=" "+tst;
spc+=tst;
arw+="^";
}
else{arw+="_";}
}
if (flg!=0){
if (spc.indexOf(" ")>-1) {
str+="和空格";
}
alert("请正确填写用户流水号!");
+str;
form1.lsh.focus();
x=false;
}
return x;
}
</script>
</head>
<body>
<p align="center">用户服务管理:</p>
<form name="form1" method="post" action="stopfwb.php" onsubmit="javascript:return numericCheck();">
<table border="1" align="center">
<tr>
<td>请输入用户流水号:</td>
<td><input name="lsh" type="text" id="lsh" size="8"></td>
</tr>
</table>
<div align="center">
<input type="submit" name="Submit" value="查询">
<input type="reset" name="Submit2" value="重置">
</div>
<div align="center"></div>
</form>
<p align="center"> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -