Placing a comma in a user input field when its type is "number" not "text"

Try here: Javascript: Remove all but numbers from string - thisPointer