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).
<div class="regItm">
<input properties...><a class="delLink" properties...>X</a>
</div>
<div class="regItm">
<input properties...><a class="delLink" properties...>X</a>
</div>
...
...