checking if number entered is a digit in jquery

Viewed 169368

I have a simple textbox in which users enter number.
Does jQuery have a isDigit function that will allow me to show an alert box if users enter something other than digits?

The field can have decimal points as well.

10 Answers
Related