Assume that I have some HTML elements like these :
Click me
$("#content_div a").css({"color":"#888888", cursor: "default"}).click(function(e){ e.preventDefault(); });
Working Example http://jsfiddle.net/P4Fqq/