zjrJS Javascript Library

Test Case for zjrJS.Doc.eid() - zjrJS Javascript Library

This information lives on a webpage hosted at the following web address: 'https://omegajunior.globat.com/code/zjrjs/'.

Showing whether zjrJS.Doc.eid() actually works.

Preconditions
Javascript must be allowed to run on this page.

Successful When...
In the form, after each pressing on the Append Child button, an extra checkbox appears.

How does this test eid()?
The form contains 2 elements with an id attribute: the output fieldset is identified as receiver, and the template label/checkbox is identified as template. Eid() is used to get handles on both. If eid() were to fail, no extra checkboxes will appear in the output fieldset.
Actions
Template Checkbox
Extra Checkboxes

Download:

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

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

Clicky Analytics