[jQuery] passing this

[jQuery] passing this


Hello,
i want to call a function $('#selection').parent.child()
with the following code :
jQuery.fn.extend({
parent: {
child: function(o){ doSomethingWith(selectedElement) }
}
});
but i dont know how to pass the selected element through parent
(#selection) to child function.
regards.