O'Reilly logo

Practical jQuery by Ankur Kumar, Mukund Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required