[dojo-contributors] DOM NodeType values not in 0.9

Bill Keese bill at dojotoolkit.org
Sun Jun 10 09:26:37 EDT 2007


>>
>>         dojo.query("#top >").orphan(".status");

Hmm, I didn't know about the orphan() method either; I read over the 
documentation for Nodelist again and found it.   But wouldn't it be more 
efficient to do this?

dojo.query("#top > .status").orphan();

It seems strange that orphan() needs to take a filter.



More information about the dojo-contributors mailing list