element.dispatchEvent(new Event('input', { bubbles: true }));
var event = new Event('input', { bubbles: true, cancelable: true, }); element.dispatchEvent(event);