There is input[text] and two buttons "+" and "-", which change the value in input to +1 or -1. It is required to intercept an event when the value is greater than a certain value, for example, greater than 10 and execute a function.
How can this be done using JS / jQuery?