如何用正则表达式匹配一个整数!

如题!
---------------------------------------------------------------

1<input onblur="alert(/^[0-9]+$/.test(value))"/>

---------------------------------------------------------------

/^[0-9]+$/

Published At
Categories with Web编程
comments powered by Disqus