Answers for "Setting Up Multiple Event Responses"

0

Setting Up Multiple Event Responses

// Multiple events, same handler
$( "input" ).on(
    "click change", // Bind handlers for multiple events
    function() {
        console.log( "An input was clicked or changed!" );
    }
);
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language