Login Register

dojo NodeList jquery

extend the dojo.NodeList

hello guys, i assume you all have used jquery before, and it's quite powerful.(of course dojo is also powerful)
the most thing attracts me is like this:

$(".blahblah").hide(function(){$(this).html("test");})
              .show("fast").......

I've been thinking, why not give the same/similar ability to dojo's nodelist?

http://trac.dojotoolkit.org/ticket/3617 is a similar idea to mine. but as the last comment said, it is a port of jquery, not a extention to NodeList.

so, here's my solution:

Syndicate content