Dispatch a 'value' event from an HTML input element when its 'value' attribute is modified programmatically.