It is, should be:$('module[ref="1002"] lessons lesson').eq(0)

fyi, it is correct in the code that is running at
http://ietracker.staging.informationexperts.com/framework/module.htm?dynamic=true#m-1002-1

Benjamin Sterling / Web Developer
kenzomedia.com / kenzohosting.com / benjaminsterling.com / refreshbmore.org

443.844.7654 // Twitter @bmsterling
Skype: benjamin.sterling // AIM: thekenzoco


On Thu, Apr 30, 2009 at 3:37 PM, Andrea Giammarchi <
[email protected]> wrote:

> lessons = $('module[ref="1002" lessons lesson').eq(0)
>
> am I stoned or that query misses a bracket?
>
>
> On Thu, Apr 30, 2009 at 7:37 PM, Benjamin Sterling <
> [email protected]> wrote:
>
>> Hey guys,
>> I think I found a bug when traversing an xml doc with 1.3+.
>>
>> Here is the xml doc:
>> http://ietracker.staging.informationexperts.com/ajax/buildXML.aspx?id=1002
>>
>> When I do $('module[ref="1002" lessons lesson:eq(0) topics topic') i
>> should be getting back 7 records but instead, in IE6/7, I am getting back 13
>> which is the total amount for both lessons that is with in the 1002
>> element.  It seems like it is failing at the eq() method because if I do the
>> following I get the same result:
>>
>> lessons = $('module[ref="1002" lessons lesson').eq(0)
>>
>> $('topics topic', lessons)
>>
>> Not sure how else to problem solve this to give more to you.
>>
>> Thanks.
>>
>> Benjamin Sterling / Web Developer
>> kenzomedia.com / kenzohosting.com / benjaminsterling.com /
>> refreshbmore.org
>>
>> 443.844.7654 // Twitter @bmsterling
>> Skype: benjamin.sterling // AIM: thekenzoco
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to