Welcome, guest ( Login )

WikiHome » HTMLModule

HTMLModule

Version 3, changed by owen 12/09/2006.   Show version history

OBSOLETE

The HTML Module is used for selecting elements in your HTML, and also for stylesheets, etc.

There are a lot of functions..

dojo.html.getElementsByClass() is the one I use all the time. it gets a list of elements with a classname of the argument you feed it.
so if you have:
<div id=tito class=name></div>
<div id=john class=name></div>

dojo.html.getElementsByClass('name') would return both of those divs.

Attachments (0)

  File By Size Attached Ver.