Hi,
You might want to read John Resig's article[1] on
document.querySelectorAll.
Ideally, a :root or :self selector would be specified so as to avoid
this potential confusion.
For example:
$('foo').select(':self div.div_a > span.span_a')
Best,
Tobie
[1] http://ejohn.org/blog/thoughts-on-queryselectorall/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---