Login Register

find widget by dojoType

is it somehow possible to find widgets by dojoType?
for example using dojo.query :

dojo.query("textarea", form).forEach(function(item){
//i only want textareas with dojoType="dijit.Editor"
});

thanks!

Porting Guide...

thank you ! but how do i use

thank you !

but how do i use it?
do i need to require the util.manager?
dojo.require("dijit.util.manager"); is not correct, right?

ok... don't need to

ok... don't need to require... thanks a lot! now it works fine!!