Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

ApplyElement() Syntax, Parameters and Note

Note: Adds a new element as the parent or the child.      Syntax:      document.all.elementID.applyElement(param1, param2) Parameters:     param1   Required; the new element to insert.     param2   Optional; outside (the default; the element is the                                  parent of the specified element)                         inside  (the element is the child of the specified element).