diff --git a/jquery.maskMoney.js b/jquery.maskMoney.js index 80e60e8..ed3076b 100644 --- a/jquery.maskMoney.js +++ b/jquery.maskMoney.js @@ -39,7 +39,8 @@ precision: 2, defaultZero: true, allowZero: false, - allowNegative: false + allowNegative: false, + autoLoad: false }, settings); return this.each(function() { @@ -280,6 +281,10 @@ this.removeEventListener('input',blurEvent,false); } }); + + if (settings.autoLoad){ + mask(input); + } }); }