[jQuery] Retrieving the parent of a cloned element

2007-09-24 Thread voltron
Changed the title again, so, now hopefully someone can help me with my problem.

[jQuery] Retrieving the parent of a cloned element

2007-09-24 Thread voltron
Hmm, I think thats something different On Sep 24, 2:49 pm, John Farrar <[EMAIL PROTECTED]> wrote: > I would like to see a function (of course it might be there alleady and > I don't know it) like this added to jQuery. > > http://docs.mootools.net/Plugins/Group.js

[jQuery] Retrieving the parent of a cloned element

2007-09-24 Thread voltron
I am cloning a set of elements, one of these elements is a button that would delete this set of elements when clicked on. My problem is that I cannot successfully bind a function to the button that does the deleting // JS code $("#add_activity").click(function(){ var maxCount = [1,2,