Skip to Content | Skip to Navigation


dijit.byNode

Finds a Dijit instance reference by a passed node reference.

var widget = dijit.byNode( dojo.byId("foo") );
if(widget){
   // we found that node!
}