html input current value onchange code example
Example: javascript input onchange get value
var element = document.getElementById("myInput");
element.onchange = function() {
console.log(element.value);
}
var element = document.getElementById("myInput");
element.onchange = function() {
console.log(element.value);
}