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