I have the following html.
<input type="text" id="Price">
When the user enters a price amount in this input field,that should be automatically converted to a valid price format.
suppose a user enters 9200000,it should be automatically converted to 9,200,000.
So can anyboby explain how it can be done in javascript ?
It should be done in the keyDown,keypress or keyup events of this field.
Thanks