Appendix 2jQuery Primer

Writing clean and concise JavaScript that works well across all web browsers is a difficult chore. Many libraries make it less painful, but jQuery is arguably the most popular. It’s easy to use, has a wide array of existing plug-ins, and is a good fit for easily creating fallback solutions and complex web applications.

This appendix introduces you to the parts of the jQuery library that we use elsewhere in the book. It’s not meant to be a replacement for jQuery’s excellent documentation,[96] nor is it an exhaustive list of the features and methods available. It will, however, give you a good place to start.

jQuery makes Document Object Model (DOM) manipulation and event handling a breeze. jQuery uses CSS selectors ...

Get HTML5 and CSS3, 2nd Edition 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.