"okay..so how can check if the string only contains numbers? "
Takes out user entered spaces
var TestValue = EnteredValue.replace(" ", "");Checks if the remaining value is numeric isNaN(TestValue) And this method doesn't really need jQuery (nor would i see why it would have to)

