DOM Manipulation with jQuery

In the previous chapter, we discussed traversing the Document Object Model (DOM) with jQuery, and now you have a better idea of the power of jQuery. This chapter will help you to understand the DOM manipulation, to make web pages more efficient. By the end of this chapter, you will be familiar with the following:

  • Editing appearance with jQuery CSS methods
  • Editing/changing an element’s attributes, contents, and position
  • Creating and inserting new DOM elements
  • Removing and cloning DOM elements
  • Working with dimensions

Editing Appearance with jQuery CSS Methods

The CSS methodsCSS methods offered by jQuery provide ...

Get Practical jQuery now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.