DhElement.setDOMAttribute

Overview | Methods | This Package | All Packages

DhElement.setDOMAttribute

Sets a string attribute, given the name of the attribute according to the Document Object Model (DOM) of Dynamic HTML.

Syntax

public void setDOMAttribute( String strAttr, String value )

Parameters

strAttr

The name of the custom attribute to set.

value

A string value.

Remarks

Calling this method directly is not part of the normal usage of this package. You should call specific attribute methods directly on the element, for example, DhImage.setURL.