One of the parameters in the script tag may change dynamically –
djConfig=”parseOnLoad:true, locale:’fr-fr’
Script tag:
<script type="text/javascript"
src="dojo-release-1.6.1/dojo/dojo.js"
djConfig="parseOnLoad:true, locale:'fr-fr' />
where locale may be either fr-fr or en-us,…
How do I create the script tag?
I suggest explicitly creating the djConfig object before including the dojo core (as outlined in their docs):
Please check out the dojo docs on the subject.
NOTE: You should never use self-closing script tags.