Is there any way I can create a constant function that listens to an input, so when that input value changes, something is triggered immediately?
I am looking for so
This is what events are for.
HTMLInputElementObject.addEventListener('input', function (evt) { something(this.value); });