Reference getAttributeCount()

getAttributeCount()

Returns the number of attributes the element has.

Examples

Syntax

getAttributeCount()

Parameters

Returns

Integer: number of attributes.

Related References