I want to add <div>
tags inside input type="input"
for a number-only input field. I know it can't be done, but I was wondering if there was some way to add the + and - buttons inside an input field that isn't input type="number"
. For reasons that I will not get into (it took me a good two days to solve an issue), I am unable to use input type="number"
.
How can I make custom spin buttons for an input
that doesn't come with spin buttons? Most of the other questions on SO are asking about styling/hiding the spin buttons in a number input.