jquery can not trigger function from generated content
<p>I'm trying to delete one of the items which are generated by entering text and clicking the "add another" link in the linked example, but the jquery does not trigger from the generated content. If I attach the event handler to another object the function triggers but not from the generated links, any way to fix this? In the code below; when the user clicks a link with the class delLink I want the surrounding div of that link and all elements in that div removed (erased).</p>

<pre><code>&lt;div class="regItm"&gt;
    &lt;input properties...&gt;&lt;a class="delLink" properties...&gt;X&lt;/a&gt;
&lt;/div&gt;
&lt;div class="regItm"&gt;
    &lt;input properties...&gt;&lt;a class="delLink" properties...&gt;X&lt;/a&gt;
&lt;/div&gt;
...
...
</code></pre>

<p><a href="http://jsfiddle.net/KYkJn/2/" rel="nofollow">http://jsfiddle.net/KYkJn/2/</a></p>
