title: Credit Card Input Form Using jQuery
body: <p>I'm trying to make an aesthetically pleasing credit card input form on my website.</p>
  
  <p>I'd like a the form to display in the following format:</p>
  
  <pre><code>1234-1234-1234-1234
  </code></pre>
  
  <p>Any non decimal number would be ignored, and the 5th character (represented by the hyphen), could be entered by the user as a number (becomes the 5th number of the cc), a space, or a hyphen.</p>
  
  <p>e.g. all of the following input would be seen in the input as <code>1234-1</code></p>
  
  <pre><code>12341
  1234 1
  1234-1
  123whoops4 1
  </code></pre>