密室逃脱古堡:asp中检查 是否填写的是数字 有没有这样的函数呀?
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/13 16:34:56
IsNUmberic()
isnumeric()
比如
if isnumeric(request("ade"))=flase then
response.write "不是数字格式"
response.end
end if
看你用的语言了。vbscript中是有个isnumeric,javscript中没有,要自己写的。
查人人中国名人网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/13 16:34:56
IsNUmberic()
isnumeric()
比如
if isnumeric(request("ade"))=flase then
response.write "不是数字格式"
response.end
end if
看你用的语言了。vbscript中是有个isnumeric,javscript中没有,要自己写的。