jQuery Price Format Plugin is a plugin to format input text fields as prices. For example, if you type 123456, the plugin updates it to US$ 1,234.56. It is costumizable, so you can use other prefixes and separators (for example, use it to get R$ 1.234,55).
$('#your-input-here').priceFormat();
$('#your-input-here').priceFormat({ prefix: 'R$ ', centsSeparator: ',', thousandsSeparator: '.'
});`
$('#example3').priceFormat({ prefix: '', thousandsSeparator: '' });
$('#example4').priceFormat({ limit: 5, centsLimit: 3 });
$('#example5').priceFormat({ clearPrefix: true });
$('#example6').priceFormat({ allowNegative: true });