Hi,

On Thu, Dec 4, 2008 at 14:01, Eoghan <[EMAIL PROTECTED]> wrote:
> What I'd like to see from the API would be instead of
> 'findChildElements', the more general:
>     findRelatedElements(element, expressions)
>
> If the axis part of the expression was left out it would be equivalent
> to the current findChildElements e.g.
>     findRelatedElements(my_table, ['td.myclass']);
>
> But you could also start an expression with an axis:
>     findRelatedElements(my_td, ['~ td.myclass']);
> To find sibling nodes of a given td.

I think this is a good suggestion for the new Sizzle group, I'd submit
it my self but it is your idea.

http://groups.google.com/group/sizzlejs

cheers,
Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to