📜  设置多个事件响应 - 无论代码示例

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

代码示例1
// Multiple events, same handler
$( "input" ).on(
    "click change", // Bind handlers for multiple events
    function() {
        console.log( "An input was clicked or changed!" );
    }
);