Test Case for zjrJS.Doc.Store.set() - Stable Test Suite for zjrJS

This information lives on a webpage hosted at the following web address: 'https://www.omegajunior.net/code/zjrjs/stable.php'.

Showing whether zjrJS.Doc.Store.set() actually works.

A word from a sponsor:

Used zjrJS Version:

Stable Minified version 20141202t2322 of zjrJS.


Privacy Considerations
By performing the test below, you agree to allow our script to store testing data in your browser. This data will continue to exist in your browser until you remove it. The test script below shows exactly what we store.

1. Javascript must be allowed to run on this page.
2. Your browser must allow storage. In private mode, this test will always return 0.

Successful When...
In the form, after entering a number and pressing the Store button, upon allowing the browser to load the test.Doc.Store.get() page, you see a page sporting an Output box, which shows the number you provided.

The form is not submitted. The number is not sent through cyberspace. Instead, it stays in your browser.

Test Code:

          var test=({
	run: function () {"use strict";
		if ( !test.require( "zjrJS.Doc.Store.set", 
			"function" ) ) {
				return false;
		var b = false, n = 0, 
		one = window.document.forms.one.elements;
		n = parseInt( one.yourNumber.value );
		b = zjrJS.Doc.Store.set( "theTestNumber", n );
		one = null;
		window.location = "?id=test.Doc.Store.get" ;
		return false;


Download zjrJS’ latest stable build (20141202t2322) minified (7.1KB).

Download zjrJS’ latest stable build (20141202t2322) (11.9KB).

Clicky Analytics