Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#747 closed bug (worksforme)

query fails

Reported by: T. Andersen Owned by:
Priority: major Milestone:
Component: core Version:
Keywords: query, select Cc:
Blocked by: Blocking:

Description

Hi

I have this query inside a loop

loop

$('#image-gallery/#image-container/.image/img:eq('+i+')').attr('title');

/loop

I expect that this will get each .image/img's title

But if one .image has eg. a as a firstChild (.image/a/img) it fails to get this item.

Change History (2)

comment:1 Changed 16 years ago by T. Andersen

hmm, maybe it is me that do not know x-path that well

This worked

image:eq('+i+')//img

comment:2 Changed 16 years ago by john

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.