Jump to content

Replace Child Method


jimfog
 Share

Recommended Posts

In the tutorial the following is mentioned about the syntax of replacechildmethod: elementNode.replaceChild(new_node,old_node). My question is what is this elementNode mentioned in the beginning? Is it the parent, whose childelement we wish to replace?

Edited by jimfog
Link to comment
Share on other sites

Thanks for making it clear to me

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...