JQuery-currencyField is a project mainly written in JavaScript, it's free.
Magically turn a normal text field into one that converts numeric values into currency strings
Turn this: 1234567.890 Into this: 1,234,567.89
Woo Hoo! Magic!
Usage: jQuery('input[type=text]').currencyField(options)
Options: