e property, MouseEvent object, 317, 320
echo statement, 469, 470
echo string function, PHP, 483
ECMA (European Computer Manufacturers Association), 36, 37
ECMAScript 3rd Edition Compact Profile specification, 37
ECMAScript Components Specification, 37
ECMAScript Language Specification, 37
Eich, Brendan, 36
ELEMENT date, 343, 375
ELEMENT event, 343, 352, 375
Element node, 299, 359, 362
element property, Sack framework, 218
Element.html application, 448
elements
$_FILES['userfile']['error'] element, PHP, 546
$_FILES['userfile']['name'] element, PHP, 546
$_FILES['userfile']['size'] element, PHP, 546
$_FILES['userfile']['tmp_name'] element, PHP, 546
$_FILES['userfile']['type'] element, PHP, 546
<a> elements, 423
<array> element, 77
<auth-constraint> element, 608
<block> element, 54
<body> element, 49, 173, 383, 388, 408
<first_name> element, 355
<form> element, 81, 522, 524, 526
<greeting> element, 303, 344
<img> element, 18, 333, 429
<info> element, 303, 344
<input> element, 449
<input type="button"> element, 79
<input type="file"> element, 545
<input type="image"> element, 541
<last_name> elements, 368
<link> element, 388
<login-config> element, 609
<marquee> element, 559
<menuitem> element, 118, 120, 121, 122, 199
<p> element, 304, 308, 309, 310
<people> element, 353, 360
<peoples> element, 375
<person> element, 355, 371
<script> element, 37, 43, 44, 45, 46, 48, 87, 255, 268, 428, 450
<security-constraint> element, 605
<span> element, 52, 56, 408, 418
<style> element, 158, 314, 384, 385, 386, 408
<table> element, 452
<td> element, 397
<text> element, 205, 208
<tr> element, 452, 453
else clause, if statement, 66
else statements, 497–498
elseif statements, 498–499
e-mail, 30–32
encodeURIString property, Sack framework, 218
encryption, password, 619–630
equals method, Java String class, 628
errors, JavaScript, 39–42
European Computer Manufacturers Association (ECMA), 36, 37
eval function, JavaScript, 148–150
event element, 353, 359, 360
event handling
Ajax-enabled shopping cart
creating cross-browser mouse event object, 315–320
handling mouse down events, 320–323
handling mouse move events, 323–324
handling mouse up events, 325–328
Document Object Model
appending elements using, 299–305
introduction to, 297–299
replacing elements using, 305–310
downloading images with Ajax, 328–333
handling Ajax timeouts, 333–337
overview, 297
events
ATTLIST event, 343, 375
browser events, 44–47
cross-browser mouse event objects, 315–320
DOCTYPE events, 343, 375
ELEMENT event, 343, 352, 375
handling mouse move, 323–324
mouse down, 320–323
mouse up, 325–328
onabort event, 45
onblur event, 45
onchange event, 45
onclick event, 45, 86
ondblclick event, 45
ondragdrop event, 45
onerror event, 45
onfocus event, 45
onkeydown event, 45
onkeypress event, 45
onkeyup event, 45
onload event, 45
onmousedown event, 45, 46, 315
onmousemove event, 45
onmouseout event, 45
onmouseover event, 45
onmouseup event, 45
onreset event, 45
onresize event, 45
onsubmit event, 45
onunload event, 45
Execute button, 272
execute property, Sack framework, 218
explode string function, PHP, 483
eXtensible Markup Language (XML)
accessing attribute values, 371–374
accessing data directly, 365–370
AJAXLib to download, 207–209
attributes, 372
creating, 117–118, 339–344
downloading, 118–125
handling with JavaScript, 344–349
Interactive Website Framework, 247–249
libXmlRequest to download, 203–206
retrieving data from documents, 349–359
Sarissa framework, 242–247
sending back to browser with PHP, 471–473
using Ajax with
creating XML, 117–118
downloading XML, 118–125
overview, 115–117
validating, 375–378
white space
in cross-browser way, 361–365
in Mozilla, Netscape, and Firefox Web browsers, 359–361
Extensible Stylesheet Language (XSLT), 242
external JavaScript files, 43–44
external style sheet, 387