Ah, damn you are right... I havn't looked at the hole code from the livequery plugin... at the end there is a new init method...
On 4 Sep., 13:01, Tzury <[EMAIL PROTECTED]> wrote: > On Sep 4, 10:01 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > There is allready such an attribute.... > > try this: > > > $("#myID .MyClass mychildren").myfunction() { > > console.log(this.selector); // "#myID .MyClass mychildren" > > > } > > $.fn.ShowSelector = function () { return this.selector; } > console.log($('input.foo').ShowSelector()); > > yields undefined