I want to execute a function every time the value of a specific input box changes. It almost works with $(\'input\').keyup(function), but nothing happe
DON'T FORGET THE cut or select EVENTS!
The accepted answer is almost perfect, but it forgets about the cut and select events.
cut is fired when the user cuts text (CTRL + X or via right click)
select is fired when the user selects a browser-suggested option
You should add them too, as such:
$("#myTextBox").on("change paste keyup cut select", function() {
//Do your function
});