Please can you suggest some sample code on how to activate and deactivate a hyperlink on clicking it.
I tried the following, but no result
1) $("a#click").onclick = function() { return false; }
2) $("a#click").attr ('href', '#');
3)
$(function(){
$("#disabled a").click(function () {
$(this).fadeTo("fast", .5).removeAttr("href");
});
});