setNamedItem Method Sample

The setNamedItem method applies a ToolTip to the div element below.

This <div> now has a tooltip.