Showing whether zjrJS.Doc.cT() 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, pressing the Create button, the text "Hello, World!" gets added to the Output box.
Javascript must be allowed to run on this page.
Successful When...
In the form, pressing the Create button, the text "Hello, World!" gets added to the Output box.
Test Code:
var test=({
amount: 0
,
run: function () {"use strict";
if (
!test.require( "zjrJS.Doc.aC", "function" )
|| !test.require( "zjrJS.Doc.cT", "function" )
|| !test.require( "zjrJS.Doc.eid", "function" )
) {
return false;
}
var D = zjrJS.Doc, receiver;
receiver = D.eid( "receiver" );
test.amount += 1;
D.aC(
D.cT( "Hello, World! (" + test.amount + ')' ),
receiver
);
D.aC( D.cE( "br" ), receiver );
D = receiver = null;
return false;
}
});