getAttributeAsInt( )

Gets the integer value for an ADOMElement’s named attribute.

Interface

ADOMElement (W3C DOM: Element)

IDL definition
unsigned long getAttributeAsInt(in DOMString name);
JavaScript synopsis
elemobj.GetAttributeAsInt(name)
C synopsis
ADOMUInt32 ADOMgetAttributeAsInt(
  ADOMElement* elemobj,
  ADOMString name
);
Parameters
  • elemobj   The ADOMElement object.

  • name   [in] Name of attribute.

Returns

Integer value of attribute.

See also

setAttributeAsInt( ), getAttributeAsBoolean( ), hasAttribute( )