title: How to format numbers dynamically in input field?
body: <p>I'd like to format a number <em>on the fly as user types</em>. There are a couple of usefull plugins like jquery.maskedinput, but none of them is able to create a dynamic mask that would work with all of scenarios:</p>
  
  <ul>
  <li>1000000 -> 1 000 000 </li>
  <li>100000 -> 100 000</li>
  <li>10000 -> 10 000</li>
  </ul>
  
  <p>And so on. Perhaps there is a clever way to achieve this with jquery dynamically as user types? Or maybe I just missed one plugin that does this? :)</p>