Answers for "jquery on click prevent"

7

jquery preventdefault

$("a").click(function(event){
  event.preventDefault();
});
Posted by: Guest on November-10-2020
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 "jquery on click prevent"

Browse Popular Code Answers by Language