Showing whether zjrJS.Doc.mbx() actually works.
Used zjrJS Version:
Stable Minified version 20141202t2322 of zjrJS.
Preconditions
Javascript must be allowed to run on this page.
Page must contain an Author meta element.
Successful When...
In the form, after pressing the Meta By Name button, the Output box receives the contents of the Author meta element of this page.
Limitation
This page contains no http-equiv meta elements. The test only determines success of the mbn() function.
Javascript must be allowed to run on this page.
Page must contain an Author meta element.
Successful When...
In the form, after pressing the Meta By Name button, the Output box receives the contents of the Author meta element of this page.
Limitation
This page contains no http-equiv meta elements. The test only determines success of the mbn() function.
Test Code:
var test=({
run: function () {"use strict";
if ( !test.require( "zjrJS.Doc.mbn", "function" ) ) {
return false;
}
var one = window.document.forms.one.elements;
one.author.value = zjrJS.Doc.mbn("author");
one = null;
return false;
}
});