Is it bad, or does it make parsing objects unstable if you append custom
attributes to an HTML tag? Lets say I want to keep track of a number, maybe
a customers ID, so I do something like:
var div = new Element('div', {'customerID':1234});
which should result in:
<div customerID="1234"></div>
Thoughts?
--
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.