This question has been made in several places but I have not found a great answer. I want to detect an input (text) value change. The value is changed via pure JavaScript with no frameworks (I can't access this) so the solution can't be modify the val()
function of jQuery to trigger an event. Events won't work as you know. The only solution that actually works is
setInterval(function() { ObserveInputValue($('#input_id').val()); }, 100);
but I want to find something different without using a setInterval