title: Jquery Submit a Form on keyup with character count
body: <p>I have a form with loads of INPUT fields in a grid SIZE / COLOUR.
  I want the form to submit each time a number is entered into an INPUT FIELD - as it dynamically calculates prices.</p>
  
  <p>At the moment this works:</p>
  
  <pre><code>$('.myval').bind('keyup', function() { 
      if($(this).val().length &gt;= 2) {
          $('#cart').submit(); 
      }
  });
  </code></pre>
  
  <p>But as you can see it needs on 2 characters before firing the form.</p>
  
  <p>I need it to be able to fire on 1,2 or 3 characters (so like Qty 4 , qty 56, qty 657). So I guess it needs 'Wait' for a few milliseconds to 'see' if another key is pressed and then wait again to see if a third key is pressed.</p>
  
  <p>Can anyone help with this?</p>