title: using regular expressions to find non-numeric values in javascript/jquery code
body: <p>Essentially, I am trying to find any non-numeric values a user enters into a text field.
  currently, my code looks like this:</p>
  
  <pre><code>    else if(MileInputElement.match([0-9]))
      {
          InvalidEntry= "Non-numeric values"; 
      }
  </code></pre>
  
  <p>However, when I run this, I get an error saying </p>
  
  <blockquote>
    <p>Object doesn't support Property or Method "match."</p>
  </blockquote>
  
  <p>So, what is a better way to handle this?</p>