Answers for "when clicking a tag prevent default"

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

Code answers related to "when clicking a tag prevent default"

Browse Popular Code Answers by Language