http://drupal.org/node/88978 - Using jQuery
Code from the class:
In the latter, of importance for this lesson are the additional items placed in the dojo_menu() function (which enable the "dojojs" and "dojojs/ajax" paths); and at the very bottom, commented out, are to be found four redundant versions of the callback functions invoked by the dojo_menu() function.
To test each of the four class sections, simply uncomment the appropriate class section containing the dojo_jquery_page and dojo_jquery_ajax function versions at the end of the file, in turn. The pair of functions you have uncommented at any given time will invoke the appropriate dojo0x.js file.
[More comments later]