Wednesday, August 13, 2008

Hello World with Dojo 1.1.1

Hello World Tutorial from:

http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial

-------------------
The root directory name is different, otherwise exactly the same.

The } is probably a typo. The code throws a 'dojo' not found error. The event does not fire although dojo.js is in the correct relative location.

Now Change:
The src attribute "Dojo111/dojo/dojo.js"

To this:
The src attribute "http://localhost/Dojo111/dojo/dojo.js"


Now it works. But what is this stuff on the 'Hello World'?



I assume you have read this post:

http://hodentek.blogspot.com/2008/08/do-you-want-to-experience-thrill-with.html

No comments:

DMCA.com Protection Status