this is the index
407
Symbols
“?” 98
<a> 218, 219
<body> 212, 222, 255
<div> 13, 111, 124, 152, 166, 205, 225, 232,
254, 265, 288
getting the text of 166
instructions <div> 256
setting the text of 166, 168
<em> 111
<form> 33, 93, 288
<form> tag
<form> 288
<h1> 240
<head> 81, 93, 212, 222
<html> 225
<img> 212, 246, 250, 253, 254, 258, 265
<input> 124, 163, 183
versus <div> 183
<p> 93, 111, 212, 219, 288
<script> 51, 56, 81
<span> 13, 15, 50, 51, 111, 124, 267
<span>s 272
newSpanElement 270
<textarea> 124
<title> 214, 222
<totals> 347
A
absolute URL 132
ActiveXObject 16, 17, 89, 90, 93, 124
addEventHandler() 255
adding event handlers
addEventHandler() 255
addOnClickHandlers() 255
addToTop5() 256, 259, 265, 266, 270
Ajax-powered coffee maker 145
basic parts 146
coffeemaker.php 149
connecting the parts 147
getBeverage() 155, 163
getSize() 155, 163
getting the server’s response 177
HTML 152
orderCoffee() 155, 159, 170
overview 148
sending a request 159
serveDrink() 155, 181
ajax.js 154, 156, 189, 285, 317, 402, 403
Ajax applications 304
advantages
dynamic page updates 3
faster 3
responsive 139
iterative development 151
AJAX is just an acronym 5
Ajax toolkits
Dojo 393
Prototype 392
alert() 234
appendChild() 265, 270, 292, 296
application/x-www-form-urlencoded 310
asynchronous xi, 26, 29, 36, 37, 65, 70, 144,
164, 280
asynchronous applications 58, 114, 139, 195
compared to synchronous applications 140,
144, 164, 196
asynchronous JavaScript 60, 65
Index