Answers for "how to each same class onclick event"

0

jquery is triggered on every element with class name

$(".yourButtonClass").on('click', function(event){
    event.stopPropagation();
    event.stopImmediatePropagation();
    //(... rest of your JS code)
});
Posted by: Guest on November-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language