JavaScript function to check if only has digits or decimals in string ...

JavaScript function to check if only has digits or decimals in string ...

瀏覽:788
日期:2026-04-19
I am trying to check to see if my string only have numbers or decimals ... Let's simplify :-) if (/^[\d\.]{3,}$/.test(myString)) { alert("Pass"); } else ......看更多