Showing whether zjrJS.Doc.etn() 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.
Page must contain meta elements.
Successful When...
In the form, after pressing the ETN button, the Output box receives a tally of all meta element in this page.
Javascript must be allowed to run on this page.
Page must contain meta elements.
Successful When...
In the form, after pressing the ETN button, the Output box receives a tally of all meta element in this page.
Test Code:
var test=({
run: function () {"use strict";
if ( !test.require( "zjrJS.Doc.etn", "function" ) ) {
return false;
}
var m = [], one = window.document.forms.one.elements;
m = zjrJS.Doc.etn("meta");
one.metas.value = m.length;
m = one = null;
return false;
}
});