Assume that I have some HTML elements like these :
Click me
There are two ways here:
1) $('#content a').css({"pointer-events":"none"});
$('#content a').css({"pointer-events":"none"});
2) $('#content a').click(function(e){ e.preventDefault(); });
$('#content a').click(function(e){ e.preventDefault(); });