Ya YUI 3 is something to check out:
YUI({combine: true, timeout: 10000}).use("node-style", function(Y) {
    var nodes = Y.all('.panels');
    nodes.each(....);
});

YUI({combine: true, timeout: 10000}).use("node-base", function(Y) {
    var onClick = function(e) {
        var node = e.currentTarget;
        node.get('parentNode').removeChild(node);
    };

    Y.all('#demo li').on('click', onClick);
});

They don't seem to expose the wrapped element.
But does expose the wrappers unique ID: ._yuid = "yuid-4-8"
The element has a property added to it:
element._yuid = "yuid-4-8"

Y.all('*').get('value') returns an array of values (most are undefined
but its an array)
Y.get('*').get('tagName') returns "HTML" and thats it (single match)

I do dig Y.all('.panels').on('click', function(e){...});

- JDD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to