DOM manipulation is the process of modifying the document object model, along with its content. The method can be used to create a new element based on the tag name. A drawback in using this method could be duplication of element IDs. The newly created element will be stored in a reference, and it would float around aimlessly.

7m read timeFrom code.tutsplus.com
Post cover image
Table of contents
Creating DOM ElementsSelecting ElementsDOM EventsRemove DOM ElementsConclusion

Sort: