Returns a list of all child objects
of the current object.
Note: Because the form DOM is sparse, nodes only get
generated when they are accessed or needed. Accessing the nodes
property is not an accurate way to determine the children or properties
of an object.
Note: This property is read only.
SyntaxReference_Syntax.nodes
Values
Type
|
Values
|
Object
|
A list of XML Form Object Model objects.
|
JavaScriptSubform1.nodes; // Single line example
// This example displays the names of the children of Subform1
var oNodes = this.nodes;
var nodesLength = oNodes.length;
for (var i = 0; i < nodesLength; i++) {
xfa.host.messageBox(oNodes.item(i).name)
}
FormCalcSubform1.nodes // Single line example
// This example displays the names of the children of Subform1
var oNodes = Subform1.nodes
var nodesLength = oNodes.length;
for (var i = 0; i < nodesLength; i++) {
xfa.host.messageBox(oNodes.item(i).name)
}
|
|
|