Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery is triggered on every element with class name

$(".yourButtonClass").on('click', function(event){
    event.stopPropagation();
    event.stopImmediatePropagation();
    //(... rest of your JS code)
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #triggered #element #class
ADD COMMENT
Topic
Name
9+7 =