O'Reilly logo

jQuery and jQuery UI: Visual QuickStart Guide by Jay Blanchard

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

4. Manipulating DOM Elements

Adding, changing, and removing elements from your web pages based on user interactions is one of the coolest things you can do with jQuery. The library is deep, with lots of functions you can apply to your web pages to achieve dramatic effects.

In many of the exercises prior to this chapter, you’ve used the css() method to create styles on the fly. In this chapter, you’ll take it a couple of steps further using CSS height, width, and position properties. You’ve also used the html() method to add error messages when form elements were not ...

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