@RkHirpara: Thankyou for the reply.
Your code is working fine except two issue:
1st Issue (with .00 case): In current code, When user enters "Amount" in Textbox, it automatically takes .00 after the last entered number.
i.e., User Entered: 123456
Output: 123456.00
But when I put your Javascript then I get output as below:
123,456,.00
Here comma should not come before decimal point.
2nd Issue (without .00 case): After applying your javascript in current code, When user enters "Amount" in Textbox, it shows Output as:
123,456,562
But again when user clicks on same Textbox to add more numbers to above output, numbers starts removing (on pressing any number) which looks very weired.
Please reply how to solve both the issues.
Thanks in advance.