I am trying to format a number input by the user into currency using javascript. This works fine on . However, on
The browser only allows numerical inputs when the type is set to "number". Details here.
You can use the type="text" and filter out any other than numerical input using JavaScript like descripted here