Complex jquery selction that also involves custom xml tags
Posted
by thecoshman
on Stack Overflow
See other posts from Stack Overflow
or by thecoshman
Published on 2010-04-29T09:40:38Z
Indexed on
2010/04/29
9:47 UTC
Read the original article
Hit count: 278
JavaScript
|jQuery
I want to write a select something like...
#window_4 > content > p:eq(0)
I think I have this correct, but I have a few selectors that are all similar but I can't test them all at once.
Am I right in saying this is selecting an element, who is the fist p tag child of a content tag that is a child of a tag with id 'window_4'
If I have gotten this wrong, can you give me some pointers. Would love to be able to simplify this code, I have more code selecting the tag I am after then actually doing stuff with them.
© Stack Overflow or respective owner