data manipulation based on tag attributes

13 views
Skip to first unread message

hossdev

unread,
Oct 21, 2012, 11:11:17 PM10/21/12
to v8-u...@googlegroups.com
Hi All,

I would like to define a new type in html pages. The indication that the value of an element is of this new type is a property I set to the HTML tag of that element.
I want to do computations in a special way over the value of the tags which has the attribute TYPEX.
For example, I set an attribute named type="TYPEX" and would like to be able to treat the value of this tag in special way (for example encrypt/decrypt).

The problem is that when the value is accessed (in setPropertyForResult), I have no idea of what is the is the attribute "type" of this element. How can I handle this situation?

I really need help and your advice.

Thanks,
HDev
Reply all
Reply to author
Forward
0 new messages