Anyone know how to disable a link in jquery WITHOUT using return false;?
return false;
Specifically, what I\'m trying to do is disable the link of an item, performing
You should find you answer here.
Thanks @Will and @Matt for this elegant solution.
jQuery('#path .to .your a').each(function(){ var $t = jQuery(this); $t.after($t.text()); $t.remove(); });