PHP-manual | ||
---|---|---|
Föregående | Nästa |
This function replaces the child oldnode with the passed new node. If the new node is already a child it will not be added a second time.If the replacement succeeds the old node is returned.
Throws DOMException if node cannot be replaced.
Föregående | Hem | Nästa |
DOMNode->removeChild | Upp | DOMNodelist->item |