Answers for "how to prevent onclick event in jquery"

2

disable click event jquery

$("#navigation ul li").unbind("click");
Posted by: Guest on March-17-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