format number to price
<p>I have seen a few of these jquery things going on, and just wondered if there was a simple number formatting script.</p>

<p>Essentially, all we wish to do, is format ( client side ) for checking purposes only, the number entered in a field. To show somewhere else on the page ( presumably in a div ) the formatted price they entered.</p>

<p>So lets say, field</p>

<pre>input id="price" name="price" size="50" type="text" class="medium" /</pre>

<p>And they enter 1234560</p>

<p>I want to show somewhere else on the page, :
You Entered : $1,234,560.00 as the price. Is this correct ?</p>

<p>This is only for visual purposes only. Alternatively, changing the value of what they type and formatting it "live" could be an option, however the value we want to send to the db is pure numerics, ie: 1234560</p>
