此生同瓦砾:asp中检查 是否填写的是数字 有没有这样的函数呀?
来源:百度文库 编辑:高考问答 时间:2024/07/04 18:55:50
IsNUmberic()
isnumeric()
比如
if isnumeric(request("ade"))=flase then
response.write "不是数字格式"
response.end
end if
看你用的语言了。vbscript中是有个isnumeric,javscript中没有,要自己写的。
高考问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高考问答 时间:2024/07/04 18:55:50
IsNUmberic()
isnumeric()
比如
if isnumeric(request("ade"))=flase then
response.write "不是数字格式"
response.end
end if
看你用的语言了。vbscript中是有个isnumeric,javscript中没有,要自己写的。