This is an easy way to make price inputs or other float inputs validate and readable. The script operates on the inputs with class .priceBox. The script is triggered on ‘keyup’ while you write. Adds dots on thousands,millions etc. Does not allow more than 2 decimal digits Removes non numeric characters. Holds value in data-float. […]