Lesson 16. Using JavaScript Libraries

In the previous two lessons, I explained the ins and outs of the JavaScript language and the browser as a platform for writing programs. In this lesson, you’re going to learn that in the previous two lessons, all the example programs were written the hard way. JavaScript libraries make taking advantage of JavaScript much easier, and in this lesson, you’ll learn about the advantages of using them.

In this lesson, you’ll learn about the following:

• What JavaScript libraries are and why you might want to use one

• Which libraries people are currently using

• How to use the jQuery library in your pages

• How to bind events using jQuery

• How to manipulate styles on a page

• How to change the content of a page ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.