CUI.JsonXmlElement.appendChild(name, attrs) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Creates a child element with the specified name and attributes.
var value = CUI.JsonXmlElement.appendChild(name, attrs);
Parameters
name
Type: String
The element name.
attrs
Type: Object
The attributes of the element, where the property names are the names of the attributes and the property values are the values of the attributes.
Return Value
Type: CUI.JsonXmlElement
The newly created child element.
Remarks
The method creates a new child element with the name and the attrs parameters and appends the child element to the end of the children.