O'Reilly logo

Beginning jQuery by Jack Franklin

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

So now you know a fair amount about jQuery and what it can do. You know how to select elements, how to make sure your code only runs after the DOM is loaded, and plenty more. You’ve also taken a look at animations and done some basic manipulation by changing colors of elements using the css() method. What you might not have realized is that animations are manipulation. Previously, you used fadeIn/fadeOut to manipulate the opacity of an element over a period of time. This chapter will focus entirely on manipulation of elements, including:

  • Changing CSS styles with the css() method
  • More animation as you meet ...

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