elementals.js AJAX simple demo

This demo for the elemental.js library uses the _.ajax wrapper to load the contents of the file ajaxTest.test into a newly created PRE tag at the bottom of this page after Window.onload

The code used to load that file is a simple:

_.eventAdd(_w, 'load', function() {
		status : {
			200 : function(x) {
				_.make('pre', {
					content : x.responseText,
					last : _d.getElementById('pageWrapper')
		request : ['get', 'ajaxTest.test'],
		mimeType : 'text/plain'

Read the full documentation for this page on the elementals.js AJAX Simple demo page.