I am trying to load dojo module from different domain; such as dojo.parser, dijit.form.Text Box etc.
But I am getting error from FireFox 3:
failed loading http://somedomain.com/toolkit/dojo-r...bug/firebug.js with error [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_B AD_URI)" location: "http://somedomain.com/toolkit/dojo-release-1.2.3/dojo/dojo.js Line: 16"]
I am not sure what I am missing here. I followed the example listed
on the dojo site: http://www.dojotoolkit.org/node/17
Can anyone please help me about this issue?
Code:
<html>
<head>
<script type="text/javascript">
djConfig = {
isDebug: true,
parseOnLoad: true,
xdWaitSeconds: 10
};
</script>
<script type="text/javascript" src="http://somedomain.com/toolkit/dojo-release-1.2.3/dojo/dojo.js"></script>
<script type="text/javascript">
dojo.registerModulePath("dojo", "http://somedomain.com/toolkit/dojo-release-1.2.3/dojo");
dojo.require("dojo.parser");
dojo.require("dijit.form.TextBox");
</script>
<script type="text/javascript">
dojo.addOnLoad(function(){
alert("Loaded");
});
</script>
</head>
<body>
</body>
</html>
failed loading http://somedomain.com/toolkit/dojo-r...bug/firebug.js with error [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_B AD_URI)" location: "http://somedomain.com/toolkit/dojo-release-1.2.3/dojo/dojo.js Line: 16"]
I am not sure what I am missing here. I followed the example listed
on the dojo site: http://www.dojotoolkit.org/node/17
Can anyone please help me about this issue?
Comment