samp object, document objects,
862
saveHistory behavior, DHTML,
532
screen object, browser objects,
862–863
script object, HTMLScriptElement,
862–863
correspondence to script object,
863
including JavaScript within HTML or XHTML,
7–8
JavaScript version detection,
541–542
locating in <head> tag,
8–9
scripts
cross-site scripting,
592
defining all functions for,
128
Internet Explorer XML data islands,
630–632
JScript script control,
671
manipulating filters and transitions,
654–655
scrollBy( ) method, Window object,
364
scrolling windows, Window object,
364–366
scrollTo( ) method, Window object,
364
search( ) method, String object,
185,
212
JavaScript-driven applets,
563
select object, HTMLSelectElement,
864–865
selection object, proprietary browser objects,
865–866
self-assignment operators, arithmetic,
739
self-assignment operators, bitwise,
740
server-side scripts
cross-site scripting and,
592
implementing RPC with,
590
spelling correction feature and,
592–594
set methods, Date object,
176
setTimeout( ) method, Window object,
368,
587
show( ) method, pop-up windows,
670
showModalDialog( ) method,
381
slice( ) method, Array object,
169
slice( ) method, String object,
185
sort( ) method, Array object,
170–171
spelling correction feature,
592–594
splice( ) method, Array object,
169
split( ) method, String object,
186,
212
short-circuiting evaluation of logical expressions,
99
status bar properties, Window object,
367–368
status property, Window object,
367,
457
stopPropagation( ) method, DOM2,
340
strike object, HTMLElement,
867
character representation,
54–55
concatenation of strings,
80–81
functions made accessible by,
135
manipulating strings,
186
marking up strings as HTML,
186–187
regular expression methods,
211–214
strong object, HTMLElement,
870
strongly typed languages,
48
Style object
position-related properties,
477
style object, document objects,
885
styleSheet object, document objects,
886–887
styleSheets[ ] collection,
285
submit object, HTMLInputElement,
888
submit( ) method, Form object,
418–419
subtraction (-) operator,
79
as alternative to if/else statements,
98
symptoms, JavaScript errors,
701–702
conditional statements,
746
operator precedence and associativity,
743–744