$("a.close").click(function() {
var id = $(this).attr("id");
alert(id);
$(this).parents("div.venue:first").fadeOut("Fast");
return false;
});
Any ideas why the alert isn't correctly popping up the current divs ID?
Final code, thanks below for pointing my stupid error
var id = $(this).parents("div.venue:first").attr("id");