title: Specify range of numbers to input in number field using javascript
body: <p>I have a field ' sessionid' of type text in an html form. I want the user to enter only numbers ranging 1-12 and no more. if 0 or 13 e.t.c is entered an error is returned.</p>
  
  <p>Here's the html form</p>
  
  <pre><code>Session Id
            &lt;/td&gt;
            &lt;td&gt;
              &lt;input type="text" name="session id" /&gt;
  </code></pre>
  
  <p>Thanks.Please Help.</p>