CHAPTER 4
JavaScript Primer
jQuery is a JavaScript library that you add to your HTML documents and that is executed by a browser. You employ the features of the jQuery library by adding your own code to the document as well – and this requires a basic understanding of how to write JavaScript. In this chapter, I provide a primer for the JavaScript language, focusing on the features that are most pertinent when working with jQuery.
JavaScript has a mixed reputation as a programming language. It is true that JavaScript has had a difficult life and was rushed through standardization before it had a chance to mature properly, leaving some oddities ...
Get Pro jQuery 2.0, Second 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.