check digit javascript的相關文章
check digit javascript的相關商品
![javascript - Check if string contains only digits - Stack Overflow](https://www.iarticlesnet.com/pub/img/site/s_13.jpeg)
javascript - Check if string contains only digits - Stack Overflow
瀏覽:919
日期:2024-09-05
I want to check if a string contains only digits. I used this: ... how about var isnum
= /^\d+$/.test(val); ... string.match(/^[0-9]+$/) != null; ... String....看更多