title: Mask input for number - percent
body: <p>How can create a mask input for number that have percent by jQuery? Do I make input just accept until three numbers and put percent sign after numbers while user finished typing(<code>keyup</code>)?</p>
  
  <p><strong>I don't use plugins.</strong></p>
  
  <p>Example:
  <strong>1%</strong> Or <strong>30%</strong> Or <strong>99%</strong> Or <strong>100%</strong> Or <strong>200%</strong> </p>
  
  <pre><code>&lt;input name="number" class="num_percent"&gt;
  </code></pre>