Home >
is undefined > error dojo is undefined
Error Dojo Is Undefined
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn
Dojo Is Undefined Error In Ie
more about Stack Overflow the company Business Learn more about hiring developers or dojo is not defined error posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Dojo Require Is Not Defined
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up dojo tutorial: dojo is not defined up vote 0 jquery is undefined down vote favorite I want to get startet with dojo. Therefore I am useing their tutorials: http://dojotoolkit.org/documentation/tutorials/1.8/hello_dojo/ The simplest tutorial displays this page
Tutorial: Hello Dojo! Hello
I now open the page (tried both localy and hosted version on their page). And when I write dojo.query("h1") in my firebug ajax is undefined console I get the message: ReferenceError: dojo is not defined Please help javascript html dojo share|improve this question asked Jan 30 '13 at 7:26 RCK69 2311819 add a comment| 4 Answers 4 active oldest votes up vote 1 down vote accepted are your sure your source for dojo is in "//ajax.googleapis.com/ajax/libs/dojo/1.8.1/dojo/dojo.js" because your folder structure look like in googleapis folder which is "http://ajax.googleapis.com/ajax/libs/dojo/1.8.1/dojo/dojo.js" share|improve this answer answered Jan 30 '13 at 7:31 user1875420 394 2 That is called a protocol-relative URL and will work just fine. No error there. –Christofer Eliasson Jan 30 '13 at 7:33 1 When I use the full url and replace line 10 and 11 with: script require(["dojo"], function(dojo){ dojo.ready(function(){ //Your code here }); });