What is the difference between "dojo" and "dijit"?

  • I’m still struggling to get a simple dialog with one field and two buttons to appear. Luc shows this:

    var dialogWidget=dijit.byId(“dlgWFNote”);

    if(dialogWidget) dialogWidget.destroyRecursive(false);

    dialogWidget=new dijit.Dialog(

      {title: "Upload eDocs Comment", duration: 600},
    
      dojo.byId("dlgWFNote")
    

    );

in a post I’ve been modelling my dialog upon. One thing I don’t understand is why dialogWidget is set to “dijit.byId(…)”, but it’s recreated using “dojo.byId(…)”. Why is that done, and what is the difference between them?

Thanks for your time…

Subject: some info

http://www.dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/what-difference-between-dojo-byid-and-dijit-byid

Subject: Tidy. Thanks!!