title: Is there a way to apply a mask on keydown? (JQuery)
body: <p>I have this mask:</p>
  
  <pre><code>$(".cep").mask("99999-999");
  </code></pre>
  
  <p>Nevertheless, when I hold a number key, like 1, it fills the input text really fast, in a way that the mask is ignored (Instead of "11111-111", it fills like "111111111"), and this is immeasurably atrocious and bug-prone when combined with events such as change or keydown.</p>
  
  <p>Anyway, is there a way to apply the mask on keydown, so that the user can hold to death the button and be bound to it??</p>
  
  <p>Here's the class on HTML:</p>
  
  <pre><code>&lt;div class="input text col-sm-6 col-xs-6 required"&gt;
      &lt;input name="data[Fornecedor][cep]" placeholder="* CEP" maxlength="20" type="text" id="FornecedorCep" required="required" class="cep"&gt;
  &lt;/div&gt;
  </code></pre>