This week on the CNET Tech Review: Testing the iPhone 4 antenna flaw; rating cell […]
Tag: removing nodes
Bootcamp Notes – Day 21 (Wed) – The Dom (Document Object Model) – Part 5 (Removing Nodes and Cloning Nodes)
The DOM – Removing Nodes There are two methods we can use to remove a node from the DOM: remove() and removeChild() remove() For the remove() method you must have a reference to the exact node to remove. nodeToRemove.remove(); removeChild()…