#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
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
hmm, maybe it is me that do not know x-path that well
This worked
image:eq('+i+')//img