Skip to main content

Bug Tracker

Side navigation

#747 closed bug (worksforme)

Opened December 31, 2006 05:36AM UTC

Closed January 02, 2007 06:25PM UTC

Last modified June 19, 2007 08:13AM UTC

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.

Attachments (0)
Change History (2)

Changed December 31, 2006 05:45AM UTC by T. Andersen comment:1

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

This worked

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

Changed January 02, 2007 06:25PM UTC by john comment:2

resolution: → worksforme
status: newclosed