Show/hide future element in jQuery

Show/hide future element in jQuery

quick question about show/hide future element in the DOM. I have
something like this where it will be triggered by a modal dialog (e.g. a facebox)

<div id="parent" style="display:none">
   <a href="#" id="link">click me</a>
<div>

I am hoping on click me I can show/hide the parent. I did

$("a#link").live('click", function() {
 $(this).parent().hide();
};

But because parent wasn't available so it seems the hide event wasn't able to bind to the parent. Any ideas how to work around it? Thanks

-Aaron