nilai input jQuery onchange
$("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));
});
// On element change.
$('mydiv').bind('DOMSubtreeModified', function () {
console.log('changed');
});
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}