Just like the Boards 'R' Us application in Chapter 1, you're going to need several JavaScript functions to make the Break Neck application work. Below on the left are the names of two JavaScript functions, and on the right are several lines of JavaScript. Draw arrows from the lines of code to the function each line will go into.
request.send(null); if (request.readyState == 4) { ... } getCustomerInfo() request.open("GET", url, true); request.onreadystatechange = updatePage; updatePage() var phone = document.getElementById("phone").value; if (request.status == 200) { ... }