$("#liste a").click(function() { $(this.parent.id).hide(); });