I try to detect change to an <input> element and act on that using the onchange event. But the event only fires if I edit the input field manually with keyboard. If I change the value of that input field programmatically with javascript, then the event won't fire.