How to make a trifle for inputa to the input in a currency format?

There is input, it is necessary not to allow to enter anything except numbers and to immediately converted to this format.
1203000 => 1 203 000 , 1000 => 1 000
Help writing the regular season .
April 4th 20 at 13:22
1 answer
April 4th 20 at 13:24
not perfect, as this plugin pereteret my handler into input. Need the regular season - javon.Kirli commented on April 4th 20 at 13:27

Find more questions by tags JavaScript