title: validation for only integers in text box
body: <p>when using </p>
  
  <pre><code>&lt;input type="number" name="phoneno" class="required number" minlength="10" maxlength="15" id="ph" /&gt; 
  </code></pre>
  
  <p>it accepts floating point number also. How to use this to prevent the text box to accept other than integers?</p>