how to filter preventdefault some element for not click work code example Example: jquery preventdefault $("a").click(function(event){ event.preventDefault(); });