📜  触发输入javascript代码示例

📅  最后修改于: 2022-03-11 15:04:00.038000             🧑  作者: Mango

代码示例2
var event = new Event('input', {
    bubbles: true,
    cancelable: true,
});

element.dispatchEvent(event);