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