title: restrict user input using javascript
body: <p>Can someone show me some example for restricting user input (on input tag) in Javascript?</p>
  
  <p>Something that when we set the input (type="text") to only accept numeric, so it will ignore any other input except for numeric...</p>
  
  <p>I think it's handy for number input (such as zip, credit card, money, value, score, date etc...), and if you can please show me how to create input with pattern, something like:<br></p>
  
  <pre>
  Please Input Date:
  |-----------------|
  |     /     /     |
  |-----------------|
  </pre>
  
  <p>PS:
  I heard WebForms 2.0 will support this in the future... (Acid 3 compliant browser?)</p>
  
  <p>input type="date"<br>
  input type="time"<br>
  input type="number"<br>
  input type="money"<br> </p>
  
  <p>But it was only news from future :D</p>