Comment

Nadeem Ijaz

sorry its my mistake
i was using input type number that's why it removes spaces

Parent comment

Nadeem Ijaz

hi here is a problem with while i am using this code it is working till 4 digits but after fourth digit when it add space then backspace all the code please give me solution