title: Input type number onchange triggering late
body: <p>I have a simple <em>input tag</em> with <em>number type</em> with an <code>onchange</code> attribute:  </p>
  
  <pre><code>&lt;input type="number" onchange="someFunction()" /&gt;
  </code></pre>
  
  <p>My problem is <code>someFunction</code> is called when user clicks out of the input box. Why <code>someFunction</code> is not called while typing?<br>
  Also when user clicks on input type arrows to change value of the input, the first click triggers <code>onchange</code> event and calls <code>someFunction</code> but the second and third and other clicks wont call the function.<br>
  What can I do to call <code>someFunction</code> while user is typing (on fly) or user is clicking on the arrows of input?</p>