Answers for "when click on button and stop preventDefault"

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 click on button and stop preventDefault"

Browse Popular Code Answers by Language