I have a remove link that will remove the current comment on my page. It uses ajax to change the database and upon success, I want to remove the div the comment resides in.
Use closest():
$(this).closest(".aComment").remove();
Example.
The parent of the a tag is the span. The div you are trying to remove is the parent of that span.
a
span
div
The reason for using this is simply because it's more convenient than using parent() twice.
parent()