Whatever the name is I think it should be used in all wrappers.
This makes it consistent.

If you want to check if a wrapper is of a certain instance.
if( wrapper instanceof Prototype.Node ) {
else if (wrapper instanceof Prototype.NodeList) {

I like using the get/set methods
element.set('disabled', 'disabled');
might blur the line between attribute and property though.

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 

Reply via email to