[jQuery] Is this a bug in XPath support?
This doesn't work: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'][3]) I had to do it like this: $([EMAIL PROTECTED]'bea-portal-layout-placeholder']:eq(3)) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Is this a bug in XPath support?
On 9/13/06, Nigel [EMAIL PROTECTED] wrote: This doesn't work: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'][3]) I had to do it like this: $([EMAIL PROTECTED]'bea-portal-layout-placeholder']:eq(3)) yeah. I think [3] should be used as: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'])[3] -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Is this a bug in XPath support?
On 9/14/06, John Resig [EMAIL PROTECTED] wrote: yeah. I think [3] should be used as: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'])[3] That doesn't give you what you want. That returns a DOM element, not a jQuery object - a thus breaks the chain. you are right. I don't know what' the next he want. But I think if you want to use [3], the above should be the correct. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/