1

I am using jQuery autoNumeric plugin to format number automatically in currency. It's working fine and converts number to currency. But once i loss focus from field and again i go to that field at that time it's not allowing me to type decimal point.

Any idea for this?

Here is my code:

$('#Amount').autoNumeric();

<input id="Amount" name="Amount" class="auto"/>

Thanks in advance.

Anvesh
  • 309
  • 1
  • 8
  • 24

1 Answers1

0

May be this will help you . please try this

$('#Amount').autoNumeric('init',{aSign: '₹', dGroup: 2 });

here autoNumeric should be initiated when you are clicking on text box. Then you can set options like currency symbol

NandaIN
  • 25
  • 10