Answers for "prevent default onclick jquery"

7

jquery preventdefault

$("a").click(function(event){
  event.preventDefault();
});
Posted by: Guest on November-10-2020
2

disable click event jquery

$("#navigation ul li").unbind("click");
Posted by: Guest on March-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language