Apply a JavaScript function to the parent of the element
<p>I was just refreshing my JavaScript/Jquery skills and I thought of making a basic todo app. I've figured out how to create elements with input from the user via a textbox. All these list  elements have a delete task link. I want it such that when a user click on that link it deletes the respective list item.</p>

<p><a href="http://dl.dropbox.com/u/26335627/Projects/Todo%20App/index.html" rel="nofollow">http://dl.dropbox.com/u/26335627/Projects/Todo%20App/index.html</a></p>
