DhElement.setID

Overview | Methods | This Package | All Packages

DhElement.setID

Sets the ID attribute of the HTML element underlying this class.

Syntax

public final void setID( String id )

Parameters

id

The string to use for the ID attribute of the element.

Remarks

This ID is persisted with the getHTML method.

Calling this method is not normally part of the usage of this package. The package with automatically generate an ID for all DhElement objects even if this method isn't directly called.

See Also   getID