Get the parent node that you embed in the AJAX content and analyze ONLY this node. You get this error because other widgets in the DOM are processed twice. Something like that:
require(["dojo/dom", "dojo/parser", "dojo/_base/xhr" ], function(dom, parser, xhr) { var request = xhr.get({
Also, make sure you include the correct dojo / dijit modules. A common mistake is to forget to enable the modules for the widget that you are trying to insert. For example, if you use TabContainer, add "dijit / layout / TabContainer" to the list of required modules.
source share