CHAPTER 4
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 ...
Get Beginning jQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.