jquery in on change code example
Example 1: on change jquery
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: document.on chenage jquer
$(document).on('change', 'input', function() {
// Does some stuff and logs the event to the console
});