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