Nested Tree with RunAtClient Tree
This test sets the TagId on both a tree and an
item within it then accesses those nodes through the JavaScript lookup
methods.
Clear Tree
Item-PageOne
Item-PageTwo
Item-PageThree
|
Item-PageOne
Item-PageTwo
Item-PageThree
|
Below we access the tree and item using the
lookup method.
var p = document.getElementById("javaOut");
var s = document.getElementById("scopeOneSpan");
var val = "Document Access
";
val = val + "Tree by id is null: " +
(document.getElementById(lookupIdByTagId("tree",s)) == null) + "
";
val = val + "Item by id is null: " +
(document.getElementById(lookupIdByTagId("item",s)) == null) + "
";
p.innerHTML = val;