Showing whether zjrJS.Doc.Store.get() actually works.
Used zjrJS Version:
Stable Minified version 20141202t2322 of zjrJS.
There is no newer Beta version available.
Privacy Considerations
The script on this page will read testing data previously stored in your browser. That data will continue to exist in your browser untill you remove it. The test script on the test.Doc.Store.set() page shows exactly what we store.
Preconditions
Javascript must be allowed to run on this page. Your browser session must not be private: private browsing prevents the use of window.localStorage.
Successful When...
In the form below, after entering a number and pressing the Store button on the test.Doc.Store.set() page, the Output box on this page shows the number you provided.
Note
The form was not submitted. The number was not sent through cyberspace. Instead, it stayed in your browser. It will stay there untill you remove it.
The script on this page will read testing data previously stored in your browser. That data will continue to exist in your browser untill you remove it. The test script on the test.Doc.Store.set() page shows exactly what we store.
Preconditions
Javascript must be allowed to run on this page. Your browser session must not be private: private browsing prevents the use of window.localStorage.
Successful When...
In the form below, after entering a number and pressing the Store button on the test.Doc.Store.set() page, the Output box on this page shows the number you provided.
Note
The form was not submitted. The number was not sent through cyberspace. Instead, it stayed in your browser. It will stay there untill you remove it.
Test Code:
var test=({
run: function () {"use strict";
if ( !test.require( "zjrJS.Doc.Store.get",
"function" ) ) {
return false;
}
var one = window.document.forms.one.elements;
one.yourNumber.value = Number(
zjrJS.Doc.Store.get( "theTestNumber" )
);
one = null;
return false;
}
});
zjrJS.Doc.aE( window, "load", test.run );