Pro jQuery pp 153-185 | Cite as

Manipulating the DOM

  • Adam Freeman


In the previous chapter, I showed you how to select elements. One of the most powerful things you can do with the selection is to change the structure of the HTML document itself, known as manipulating the DOM. In this chapter, I’ll show you the different ways in which you can alter the structure, including inserting elements as children, parents, or siblings of other elements. I’ll also show you how to create new elements, how to move elements from one part of the document to another, and how to remove elements entirely.


Versus Element Event Handler Select Element Associate Data Previous Sibling 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2012

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations