'replaceChild()' Syntax, Parameters and Note : replaceChild : Javascript Methods : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Methods   » [  replaceChild  ]   
 



'replaceChild()' Syntax, Parameters and Note

Note:

Replaces one element node with another.
    
Syntax:
    
document.getElementById("elementID").replaceChild(param1, param2
document.all.elementID.replaceChild(param1, param2// IE only

Parameters:
    param1   Required; the replacement element node.
    param2   Required; the element node to be replaced.

    

      
      
Related examples in the same category
1.  'replaceChild()' Example
2.  'replaceChild()' is applied to
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.