na mudança jQuery
$("input").change(function(){
alert("The text has been changed.");
});
the preacher
$("input").change(function(){
alert("The text has been changed.");
});
$('select').on('change', function() {
alert( this.value );
});
$("#someDiv").bind("DOMSubtreeModified", function() {
alert("tree changed");
});
$(document).on('change', 'input', function() {
// Does some stuff and logs the event to the console
});
$("#input").change(function(){
alert("The text has been changed.");
});
// modify #inputId selector as per your code
$( "#inputId" ).change(function() {
alert( "Handler for .change() called." );
});
//OR
$("#InputId").on('change', function(){
alert( 'Handler for "change" called.' );
});
// OR
$("body").on('change', '#InputId', function(){
alert( 'Handler for "change" called.' );
});