title: Input box - Prevent user from entering 0 as first digit
body: <p>I have 2 input boxes. I want that user should not be able to enter any digit which starts with 0. Note that only 0 at the beginning. It can be at the end or middle but not at the beginning.</p>
  
  <p>So allow 4, 40, 4440 but not 04.</p>
  
  <p>Check this <a href="http://jsfiddle.net/gBFqZ/8/" rel="nofollow">fiddle</a> where I've put several other restrictions like only numeric values are allowed, length is 4. Now I want to add the restriction related to 0.</p>
  
  <p>How can this be done using jQuery?</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;input name="major" size="1" value="4" class="major_rev"&gt;.
  
  &lt;input name="minor" size="1" value="24" class="minor_rev"&gt;
  </code></pre>