I have an input[type=number]
and want an event that fires when either focus was lost and value changed (ie. onchange
), but also I want it to fire as soon as the number arrows are clicked (retaining the focus or not).
One idea was to capture the arrow click itself: Is it possible bind event onclick on those tiny arrows next to numerical input? I do not want to apply onclick on the whole input.