setAttributeAsInt( )

Sets an integer value for a named attribute.

Interface

ADOMElement (W3C DOM: Element)

IDL definition
void setAttributeAsInt(
  in DOMString name,
  unsigned long int
);
JavaScript synopsis
elemobj.SetAttributeAsInt(name, int)
C synopsis
void ADOMsetAttributeAsInt(
  ADOMElement* elemobj,
  ADOMString name,
  ADOMUInt32 int
);
Parameters
  • elemobj   The ADOMElement object.

  • name   [in] Name of attribute.

  • int   [in] Integer value to set for attribute.

Returns

None

See also

getAttributeAsInt( )