Version 3, changed by owen 12/09/2006. Show version history
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.