A readonly number input (<input type="number" readonly/>
) can't be changed when a user clicks on the little up&down buttons. However, is there an event or some other trick to listen to events in JS when the user clicks on these buttons?
I understand it's possible to manually create these buttons as standalone elements near the input, but the input will lose its "number" powers