JS的正则表达式 //校验是否全由数字组成 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function isDigit(s) { var patrn=/^[0-9]{1,20}$/; if (!patrn.exec(s)) return... Read More
posted @ 2008-11-07 23:46 温景良(Jason) Views(268) Comments(0) Diggs(0) Edit