JavaScript Editor Javascript debugger     Website design 

DomAttribute->name

Returns the name of attribute ()

DomAttribute {
  string name();
}

Gets the name of the attribute.

Return Values

Returns the name of the attribute.

Migrating to PHP 5

Use the name property of DOMAttr.

See Also
DomAttribute->value for an example