jquery change val is changed code example Example: jquery onchange input value $("input").change(function(){ alert("The text has been changed."); });