JQuery Onchange Value de entrada
$("input").change(function(){
alert("The text has been changed.");
});
the preacher
$("input").change(function(){
alert("The text has been changed.");
});
$(document).on("input", "#payedValue", function () {
var mad = $("#madyoniya").val();
var payed = $(this).val();
$("#rest").val(parseFloat(mad) - parseFloat(payed));
});
$('.some_class').change(function (e) {
console.log(e.target);
console.log($(':focus'));
});