'appendChild()' Syntax, Parameters and Note : appendChild « Javascript Methods « JavaScript Reference

'appendChild()' Syntax, Parameters and Note

Note:

Appends a child element to the HTML element.
    
Syntax:
    
attributeName.appendChild(param1) // IE only
document.getElementById("elementID").appendChild(param1)
document.all.elementID.appendChild(param1) // IE only


Parameters:
    param1   Required; the element to append.

    

      
      








Related examples in the same category

1.'appendChild()' is applied to