Answers for "prevent click from bubbeling"

0

prevent click css

.noClick {
   pointer-events: none;
}
Posted by: Guest on April-19-2022
0

prevent from going to a function html click

$("#clickable a").click(function(e) {
   // Do something
   e.stopPropagation();
});
Posted by: Guest on July-03-2020

Browse Popular Code Answers by Language