Answers for "prevent click css"

2

disable click css

.avoid-clicks {
  pointer-events: none;
}
Posted by: Guest on January-13-2021
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