title: How to restrict user to enter only 2digits only (hours in a day) in textbox using javascript
body: <p>How to restrict user to enter only 2digits only (hours in a day) in textbox using javascript.</p>
  
  <p>in a day only 24 hours so user can enter only digit 1 to 24.</p>