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
- [jQuery] Re: How to retrieve jQuery.query? moester
- [jQuery] Re: How to retrieve jQuery.query? Scott González
- [jQuery] Re: How to retrieve jQuery.query? dabear
- [jQuery] Re: How to retrieve jQuery.query? Balazs Endresz
- [jQuery] Re: How to retrieve jQuery.query? Tzury
- [jQuery] Re: How to retrieve jQuery.query? Ariel Flesler
- [jQuery] Re: How to retrieve jQuery.query? Tzury
- [jQuery] Re: How to retrieve jQuery.que... [EMAIL PROTECTED]
- [jQuery] Re: How to retrieve jQuer... Tzury
- [jQuery] Re: How to retrieve jQuer... [EMAIL PROTECTED]