Team LiB
Previous Section Next Section

Index

R

radio buttons, 431–435
Radio object, HTMLInputElement, 856–857
random numbers, 182
Range object, DOM Level 2, 289–290
range selections, DOM, 289–290
Really Simple Syndication (RSS), 632–637
recursive functions, 127–128
redirects
cookies, 528
remote JavaScript, 585
reference types. See also data types, composite
comparing, 144–145
functions and, 116–117
objects and, 142–143
passing as arguments to functions, 143–144
referrer property, Document object, 388
RegExp object. See also regular expressions
compile( ) method, 204–205
constructor, 42
exec( ) method, 205–208
instance properties, 208–209
methods, 859
overview of, 857–858
properties, 858
static properties, 209–211, 751
subexpressions, 203–204
test( ) method, 203
regular expressions. See also RegExp object
advanced, 214–217, 751
alternatives, 202–203
character classes, 198–202, 749–750
conceptual overview, 192–193
escape codes, 195–196, 750
examples, 749
flags, 749
form validation and, 447–449
grouping characters, 198
in JavaScript, 193–194
limitations of, 217–218
literals, 738–739
overview of, 42–43
patterns, 194
positional indicators, 194–195
repetition quantifiers, 196–198, 749
string methods, 211–214
syntax, 748–751
uses of, 191–192
relational operators
comparing objects, 145
overview of, 34
syntax, 742–743
remote control menus, DHTML, 513–515
remote JavaScript, 581–601
callbacks, 594–595
cookies and, 588–589
cross-site scripting, 592
dynamic content, 589–592
<iframes>, 595–597
images used for one-way communication, 583–584
images used for two-way communication, 586–588
innerbrowsing and, 600–601
one-way communication, 582–583
overview of, 581–582
redirects, 585
server-side computation, 592–594
threading, 588
two-way communication, 585–586
XMLHTTP, 597–600
remote procedure calls. See RPCs (remote procedure calls)
remote scripting, 671
remote XML, 632–637
removeChild( ) method, 268
removeEventListener( ) method, 332
repetition quantifiers, regular expressions, 196–198, 749
replace( ) method, String object, 212–213
replaceChild( ) method, 268
reserved words
definition of, 24
identifiers not matching, 67
list of, 916, 917
potential in future, 917
types of, 916
Reset object, HTMLInputElement, 859–860
reset( ) method, Form object, 418
resizeBy( ) method, Window object, 363
resizeTo( ) method, Window object, 363
Restricted Sites, security policies, 686
return statements, 28
explicit, 130
functions and, 114, 745
passing values with, 116
termination with, 76–77
return values, event model, 312–314
reverse( ) method, Array object, 168
right shift operator (>>), 83–84
rollover buttons, 467–476
browser detection, 542
CSS and, 475–476
DHTML and, 498–499
event binding problems with, 468
extending, 473–475
generalizing code for, 470–473
lack of support for Image object, 468–469
limitations of, 467–468
overview of, 467
preloading images, 468–469
routeEvent( ) method, 321
RPCComplete( ) method, 597
RPCs (remote procedure calls)
callbacks, 594–595
cookie based, 588–589
remote JavaScript and, 581–582
rule for use of, 588
sending, 585
RSS (Really Simple Syndication), 632–637
<rss>, 632
rt object, proprietary document objects, 860
<rt>, 860
ruby object, proprietary document objects, 861
<ruby>, 861
rule object, CSSrule, 861–862
runtime errors, 696–698, 700
runtimeStyle object, proprietary document objects, 862

Team LiB
Previous Section Next Section