O'Reilly logo

jQuery in Action, Second Edition by Yehuda Katz, Bear Bibeault

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 3. Bringing pages to life with jQuery

This chapter covers

  • Getting and setting element attributes
  • Storing custom data on elements
  • Manipulating element class names
  • Setting the contents of DOM elements
  • Storing and retrieving custom data on elements
  • Getting and setting form element values
  • Modifying the DOM tree by adding, moving, or replacing elements

Remember those days (luckily, now fading into memory) when fledgling page authors would try to add pizzazz to their pages with counterproductive abominations such as marquees, blinking text, loud background patterns (that inevitably interfered with the readability of the page text), annoying animated GIFs, and, perhaps worst of all, unsolicited background sounds that would play upon ...

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