I can use the keyup() function to check that my user has written something in input.
But what do I do when something clipboard pastes there?(Using the mouse, not the keyboard!)
$("#myInput").keyup(function(){
console.log("increase or decrease now!");
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<input id="myInput" />