Blog Archive for September 26, 2011

Getting Started with Dojo

September 26, 2011

Here's some very basic getting started instructions for the Dojo JavaScript toolkit. Unlike jQuery, there's generally more raw JavaScript involved.

Google CDN

The basic library can be installed from Google's CDN:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js"></script>

Running Code on Page Load

To run JavaScript on page load, pass a …