Chapter 22. Using Third-Party Libraries

WHAT YOU’LL LEARN IN THIS CHAPTER:

• Why you might use a third-party JavaScript library

• How to download and use one of the more popular third-party JavaScript libraries in your applications

Third-party JavaScript libraries, or code libraries written and maintained by another party for easy implementation in your own code, offer many advantages. First and foremost, using these libraries enables you to avoid reinventing the wheel for common tasks. Additionally, these libraries enable you to implement cross-browser scripting and sophisticated user interface elements without first having to become an expert in JavaScript.

Using Third-Party Libraries

When you use JavaScript’s built-in Math and Date functions, ...

Get Sams Teach Yourself HTML, CSS and JavaScript All in One 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.