title: How to format a phone number with jQuery
body: <p>I'm currently displaying phone numbers like <code>2124771000</code>. However, I need the number to be formatted in a more human-readable form, for example: <code>212-477-1000</code>. Here's my current <code>HTML</code>:</p>
  
  <pre><code>&lt;p class="phone"&gt;2124771000&lt;/p&gt;
  </code></pre>