3. DOM And Attributes Manipulation
- To provide interaction on a page you want to be able manipulate elements dynamically.
- In this chapter, you are going to learn how to dynamically:
- Create elements on the page
- Insert existing or freshly created elements on the page
- Move elements to a different location on the page
- Clone elements
- Remove elements
- Replace elements
- From a selection of elements, you will be able to get and/or set their attribute values.
3.1. DOM Manipulation
- Manipulating the DOM using jQuery is a common operation you will have to do most of time.
- First we’ll focus on the different methods allowing you to create, insert, move, clone, remove, and replace elements in the DOM.
No comments:
Post a Comment