How to check if a textbox contains numbers only?
While googling I came across this. But I\'m wondering if isNumeric can be used for this purpose or if t
isNumeric
You can match the value of text box against the numeric regression to check if it contains numbers only or not, Like below code...
if($('#myText').val().match(/^\d+$/)){ // Your code here }