When dojo.js loaded via ajax multiple times get Error: defineAlreadyDefined
问题 I use jquery to load in sub-pages via ajax. The sub-page has some dojo widgets which work ok the first time. But subsequent loads I get Error: defineAlreadyDefined and the rest of the javascripts after this point is not run which means some key jquery instructions, e.g. UI layout. Can any one help as I have searched the web for this "Error: defineAlreadyDefined" of dojo and the best I came up with was it was addressed in dojo 1.6, however I am using 1.7.2 . I hope that I am doing something