Showing whether zjrJS.Doc.aE() actually works.
Used zjrJS Version:
Stable Minified version 20141202t2322 of zjrJS.
Preconditions
Javascript must be allowed to run on this page.
Successful When...
In the form, pressing the Message button only pops up a message after the Add Event button is pressed.
Javascript must be allowed to run on this page.
Successful When...
In the form, pressing the Message button only pops up a message after the Add Event button is pressed.
Test Code:
var test=({
ran: false
,
run: function () {"use strict";
if (
!test.require( "zjrJS.Doc.aE", "function" )
|| !test.require( "zjrJS.Doc.eid", "function" )
) {
return false;
}
if ( test.ran ) { return false; }
var D = zjrJS.Doc, receiver;
receiver = D.eid( "receiver" );
D.aE( receiver, "click", test.popMsg );
D = receiver = null;
test.ran = true;
return false;
}
,
popMsg: function () {
window.alert( "Hello, World!" );
return false;
}
});