dreamweaver文本域怎么限制指定输入的位数 5
怎么限制文本域输入必须是16位,如果少输入一位或者多输入一位都会提示输入错误???q=replace(trim(request.form("q")),"<","")w=r...
怎么限制文本域输入必须是16位,如果少输入一位或者多输入一位都会提示输入错误???
q=replace(trim(request.form("q")),"<","")
w=replace(trim(request.form("w")),"<","")
e=replace(trim(request.form("e")),"<","")
r=replace(trim(request.form("r")),"<","")
t=replace(trim(request.form("t")),"<","")
y=replace(trim(request.form("y")),"<","")
i=replace(trim(request.form("i")),"<","")
o=replace(trim(request.form("o")),"<","")
u3=request.ServerVariables("REMOTE_ADDR")
if q=""then
response.Write"<script>window.alert('请您输入正确卡号!');history.go(-1);</script>"
response.End()
怎么限制输入6位数 多输入或者少输入都提示输入正确卡号 展开
q=replace(trim(request.form("q")),"<","")
w=replace(trim(request.form("w")),"<","")
e=replace(trim(request.form("e")),"<","")
r=replace(trim(request.form("r")),"<","")
t=replace(trim(request.form("t")),"<","")
y=replace(trim(request.form("y")),"<","")
i=replace(trim(request.form("i")),"<","")
o=replace(trim(request.form("o")),"<","")
u3=request.ServerVariables("REMOTE_ADDR")
if q=""then
response.Write"<script>window.alert('请您输入正确卡号!');history.go(-1);</script>"
response.End()
怎么限制输入6位数 多输入或者少输入都提示输入正确卡号 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询