title: add commas to a number in jQuery
body: <p>I have these numbers</p>
  
  <p><code>10999</code> and <code>8094</code> and <code>456</code></p>
  
  <p>And all i want to do is add a comma in the right place if it needs it so it looks like this</p>
  
  <p><code>10,999</code> and <code>8,094</code> and <code>456</code></p>
  
  <p>These are all within a p tag like this <code>&lt;p class="points"&gt;10999&lt;/p&gt;</code> etc.</p>
  
  <p>Can it be done?</p>
  
  <p>I've attempted it here with the help of other posts <a href="http://jsfiddle.net/pdWTU/1/" rel="noreferrer">http://jsfiddle.net/pdWTU/1/</a> but can't seem to get it to work</p>
  
  <p>Thanks</p>
  
  <p>Jamie</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Messed around a bit and managed to figure it out here <a href="http://jsfiddle.net/W5jwY/1/" rel="noreferrer">http://jsfiddle.net/W5jwY/1/</a></p>
  
  <p>Going to look at the new Globalization plugin for a better way of doing it</p>
  
  <p>Thanks</p>
  
  <p>Jamie</p>