Corrected version
(dojo.query always returns a modeler)
It will look something like this:
var nodelist = dojo.query('#Comments > .Comment:last-child > a[name]);'
var value = dojo.attr(nodelist.at(0), 'name');
Explanation: #Comments > .Commentselects all nodes with a class Commentinside node with id Comments. :lastChildreduces this choice to the last child. > a[name]selects all child children of type awith attribute name. The second line simply gets the value from the name node attribute.
, .
dojo, .
( dojo, ;))
Info
http://docs.dojocampus.org/dojo/query
, node, ( attr), "thisisthelinkiwant" ( ;)) 'Comments .thisisthelinkiwant:last-child'.
, css, .