It is necessary that when the input field changes, any function is executed.
As I understood, the "oninput" event is responsible for changing the text field.
The problem is that the code after the "oninput" event is not working.
I tried this:
$("#enter").oninput(function () { alert("чтот получилось") })
so :
$(document).ready(function() { var input = document.getElementById('enter'); input.oninput = function() { console.log("ghbdtn") console.log(input) }
});
Perhaps you can solve it somehow?