Showing whether zjrJS.Doc.eP() 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 Prevent button, the form will not submit (and the page will not reload).
Javascript must be allowed to run on this page.
Successful When...
In the form, after pressing the Prevent button, the form will not submit (and the page will not reload).
Test Code:
var test=({
run: function ( evt ) {"use strict";
if (
!test.require( "zjrJS.Doc.eP", "function" )
) {
return false;
}
return zjrJS.Doc.eP( evt );
}
,
init: function () {"use strict";
var D = zjrJS.Doc;
D.aE( D.eid( "receiver" ), "submit", test.run );
D = null;
}
});
zjrJS.Doc.aE( window, "load", test.init );