.change(function(e) code example Example: on change jquery $("input").change(function(){ alert("The text has been changed."); });