摘要: javascript没有直接判断是否是数字的函数。我编程进行翻页时要判断用户输入的是否为数字,我在网上看到这样一个判断地函数://数字的确定function isDigit(theNum){ var theMask = "0123456789"; if (isEmpty(theNum)) return (false);else if (theMask.indexOf(theNum) == -1) ...阅读全文
posted @ 2005-10-31 12:24 中国风 阅读(11118) | 评论 (3) 编辑 |
