Possible Duplicate:
How can I format numbers as money in JavaScript?
I am working on a site, it has a input field for price. i need to format the price value something like the following.
if a user enter "1000000" it should replace with "1,000,000" is it possible?
Any help?
You need custom function like this :