質問する
326 次
1 に答える
1
After you get the HTMLDivElement, for example coolElement, you can try this:
coolElement.attributes['name']and
coolElement.attributes['action'].In case the attribute exists, you can get the value with nodeValue
coolElement.attributes['attribute_name'].nodeValue
于 2012-04-16T17:58:29.557 に答える