Why doesn't this click handler work in JQuery?
<p>I've got the following code in my page:</p>

<pre><code>var offer_link = $('&lt;a&gt;').addClass('fc-offer-link');
offer_link.click(function() {
    alert('Hello');
});

offer_link.attr('href', "#" + this.id);
offer_link.append(this.subject);

this.list_item = $('&lt;li&gt;');
this.list_item.append(offer_link);
</code></pre>

<p>But even though the link appears on the page, the handler never gets called.  What's going on?</p>
