click event on input number
Hello
i have an :
<input
type
=
"number"
min="1" max="10"
value
=
"1" onclick="Dosmothing()"
/>
i want to handle the increment and the decrement event on jquery or javascript.
for example: i want to do an alert('input number incremented') if the user increment the number input.
and an alert('input number decremented') if the user decrement the value of the number input.
Thank you very mutch