i can set elements setproperties, there not seem getproperties attribute value. can help?
if want return attribute value use raw javascript method getattribute(att_name).
or if attribute node name current element use getattributenode(att_name)
var elem = goog.dom.getelement(element); var attr = elem.getattribute('name'); var attrnode = elem.getattributenode('name');
Comments
Post a Comment