ptg16476052
722 Java Enterprise Edition
J
Java Enterprise Edition, 684
JavaScript, 11, 21, 472
advantages of, 472, 495
alert message, 494
anatomy of scripts, 474
arguments, 486
arrays, 489
browsers
compatibility, 496
integration, 473
comparison operators, 483
compressing for mobile web, 594-595
control structures, 482-486
data types, 488-489
development environments, 495
document object, 491
documentation, 495
DOM, accessing, 543
ease of use, 473
elements, hiding/showing, 538-546
environment, 491
event-driven models of execution, 472
event handlers, 492
events, 491-495
expressions, 479-480
for loops, 484
form validation, 528
code listing, 534-535
onsubmit event handler, 529
this form object, 532
forms, required fields, 531-533
functions, 486-488
anonymous functions, 542
history object, 491
if statement, 482-484
libraries, 500
enabling users, 526
jQuery, 500-525
slowly loading pages, 525
linked windows, opening, 567-571
location object, 491
looping statements, 484-486
objects, 489-490
operators, 479-480
parameters, 486
placing in external files, 593-594
reserved words, 481
<script> tag, 473-474
src attribute, 474
server efficiency, 473
syntax, 476-496
variables, 480-482
Web pages, adding content to, 546-550
while loops, 485-486
window object, 491
JavaScript Console, 475
JavaScript Debugger, 475
JPEG (Joint Photographic Experts Group), 199,
238
jQuery, selectors, 503
jQuery JavaScript library, 500-501
adding/removing content, 514-518
AJAX, 520-525
attributes, manipulating, 513-514
binding events, 504-505
classes, manipulating, 508-511
enabling users, 526
form values, manipulating, 511-512
hiding and showing elements, 505-506
modifying page styles, 505-508
modifying web page content, 508-518
retrieving style sheet properties, 507-508
sample script, 501-503