title: Check If only numeric values were entered in input. (jQuery)
body: <p>I would like to check if users enter correct phone number in, with help of jQuery, so far I got to this stage:</p>
  
  <pre><code>var phone = $("input#phone").val();
  if (phone !== "") {
      //Check if phone is numeric
      $("label#phone_error").show(); //Show error
      $("input#phone").focus(); //Focus on field
      return false;
  }
  </code></pre>
  
  <p>Basically it checks if phone number was entered and if it was, I would like to check if it is a numeric value and if it is not display the error messages.
  Could anyone help with checking if it is numeric?</p>