title: How to validate the time in html text box?
body: <p>I need to validate the html text box (onkeypress) only allow the time for given format :</p>
  
  <p>hh:mm // hh--> only allow the upto 24 and mm --> upto  59</p>
  
  <p>no other will be text was restrict the text box : is always shown in the text box using javascript </p>