Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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!" );
    }
);
Source by learn.jquery.com #
 
PREVIOUS NEXT
Tagged: #Setting #Up #Multiple #Event #Responses
ADD COMMENT
Topic
Name
6+5 =