Test Case for zjrJS.Doc.aCl() - Beta Test Suite for zjrJS

This information lives on a webpage hosted at the following web address: 'https://www.omegajunior.net/code/zjrjs/beta.php'.

Showing whether zjrJS.Doc.aCl() actually works.

Used zjrJS Version:

Stable Minified version 20141202t2322 of zjrJS.

There is no newer Beta version available.


 

Preconditions
Javascript must be allowed to run on this page.

Successful When...
In the form, after pressing the Add Class button, the colour of its box turns blue.
Actions

Test Code:

          var test=({
	run: function () {"use strict";
		if ( 
			!test.require( "zjrJS.Doc.aCl", "function" ) 
			|| !test.require( "zjrJS.Doc.eid", "function" ) 
		) {
			return false;
		}
		var D = zjrJS.Doc;
		D.aCl( "blue", D.eid( "receiver" ) );
		D = null;
		return false;
	}
});
        

Download:

Download zjrJS’ latest stable build (20141202t2322) minified (7.1KB).

Download zjrJS’ latest stable build (20141202t2322) (11.9KB).