title: How can I pre-format a phone number field using jQuery?
body: <p>I'd like to have a phone number text field pre-formatted for a 10 digit number, like so (pipes not included, just delimiting field):</p>
  
  <pre><code>|(   )    -    |    
  </code></pre>
  
  <p>and have the numbers the user enters fill in appropriately</p>
  
  <pre><code>|(804) 479-1832|
  </code></pre>
  
  <p>I found a good script for formatting correctly as the digits are entered <a href="http://www.tutorialdash.com/tutorial/javascript/basics/view/How-to-Auto-Format-And-Mask-Telephone-Numbers-with-Javascript_44084" rel="nofollow">here</a>, but nothing yet that delivers a preformatted structure.</p>
  
  <p>Is there a simple library or link for this? Thanks.</p>