3.2.0

Can I set my own attribute on any component

Hi,

In HTML I can set my own attribute on a components and asign a value to them. Is it possible to set my own attributes on ActiveWidgets components and, if yes , how can I do this?

Thanks
chirak
January 22,
Yes, with setAttribute() method.

http://www.activewidgets.com/aw.system.html/setattribute.html
Alex (ActiveWidgets)
January 22,
Many thanks Alex,
now I am trying to get value of attribute but not using
getAttribute("a"), but
document.getElementsByTagName("input").item(i).getAttribute("a");
but I cannot get my attribute's value.
I need this in order to navigate through all input components.
chirak
January 23,
repost current thread
chirak
January 23,

This topic is archived.

See also:


Back to support forum