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
$(\'input\').keyup(function)
Try this:
Basically, just account for each event:
Html:
Jquery:
$("#textbox").keyup(function() { alert($(this).val()); }); $("#textbox").change(function() { alert($(this).val()); });