Understanding JavaScript properties and methods
Storing your data in variables and arrays
Making decisions with the if statement
Looping with the for and while loops
Connecting JavaScript to HTML buttons
Ajax is based on JavaScript, and this chapter is all about JavaScript. You’re going to need a good foundation in JavaScript to tackle Ajax, and all the JavaScript you’ll need to know is in this chapter. If you’re already up to speed in JavaScript, you can skip this chapter and turn to Chapter 3, which gets into Ajax in depth.