More on the get/set

Maybe get/set are more generalized
Get: would first check the property and then the attribute;
Set: would use the element['somePropOrAttrib'] = value;
instead of setAttribute and let the browser figure it out.

If you want finer grain then you can use
getProperty() and getAttribute,
setProperty() and setAttribute,

Most though would be fine using get/set
and letting Prototype figure it out.

- 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