122
Chapter 2
With all the JavaScript sorted out, let’s get back to the pizza
order form. Once the customer enters their phone number,
types in their pizza order, and veries their address, all that’s
left is to send the order to Break Neck.
Back to Break Neck’s order form
You’ve already got this part
done... the customer can
send their order to Break
Neck’s servers by clicking
the “Order Pizza” button.
So I hear we’re ready to start
taking order again... I sure
hope this works!
Man, Break Neck pizza rocks. There’s
nothing like a breakfast of cold pizza, a
whipped latte from Starbuzz, and the
Webville Times to read.
<script>
var request...
function foo()
{
...
}
</script>
JavaScript
<script>
var request...
function foo()
{
...
}
</script>
Customer’s Phone Number
Customer’s Address
Customer’s Order
submitting forms is still cool