Set value to currency in

Add step=”0.01″ to the <input type=”number” /> parameters: Demo: http://jsfiddle.net/uzbjve2u/ But the Dollar sign must stay outside the textbox… every non-numeric or separator charachter will be cropped automatically. Otherwise you could use a classic textbox, like described here.