Showing whether zjrJS.Doc.dE() 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 Message button only pops up a message before the Delete 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 before the Delete Event button is pressed.
Test Code:
var test=({
run: function () {"use strict";
if (
!test.require( "zjrJS.Doc.dE", "function" )
|| !test.require( "zjrJS.Doc.eid", "function" )
) {
return false;
}
var D = zjrJS.Doc;
D.dE(
D.eid( "receiver" ),
"click",
test.popMsg
);
D = null;
return false;
}
,
popMsg: function () {
window.alert( "Hello, World!" );
return false;
}
,
init: function () {"use strict";
var D = zjrJS.Doc;
D.aE(
D.eid( "receiver" ),
"click",
test.popMsg
);
D = null;
return false;
}
});
zjrJS.Doc.aE( window, "load", test.init );