Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

click event listener generates two events

$( "#test1" ).on("click", function(e) {
     e.stopImmediatePropagation();
});

$('#test1').trigger('click');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #click #event #listener #generates #events
ADD COMMENT
Topic
Name
1+1 =