Suppose the following HTML:
anchor
Can't you do this:
$(function() { $("a.foo").click(function() { $(this).parent().hide(); return false; }); });
with:
anchor anchor