jQuery plugin to mask data entry in the input text in the form of money (currency). Project home @ github
$("#demo1").maskMoney();
$("#demo2").maskMoney({thousands:'', decimal:'.', allowZero:true, suffix: ' €'});
$("#demo3").maskMoney({prefix:'R$ ', allowNegative: true, thousands:'.', decimal:',', affixesStay: false});
$("#demo4").maskMoney();
$("#demo5").maskMoney('mask');
$("#demo6").maskMoney('mask', 1999.99);
$("#demo6").maskMoney('destroy');
var num = $('#demo8').maskMoney('unmasked')[0]; alert('type: '+ typeof(num) + ', value: ' + num)