:: Forum >>

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
Monday, January 22, 2007
Yes, with setAttribute() method.

http://www.activewidgets.com/aw.system.html/setattribute.html
Alex (ActiveWidgets)
Monday, January 22, 2007
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
Tuesday, January 23, 2007
repost current thread
chirak
Tuesday, January 23, 2007

This topic is archived.


Back to support forum

Forum search