Index
Symbols
- - (bitwise NOT) operator 52
- - (unary negation) operator 51
- -- (decrement) operator 51
- ! (logical NOT) operator 54
- != (not equal) operator 50
- !== (strict not equal) operator 50
- % (modulus) operator 51
- %= operator 49
- && (logical AND) operator 54
- & (bitwise AND) operator 52
- &= operator 49
- */ comment 90
- *= operator 49
- + (string concatenation) operator 55
- ++ (increment) operator 51
- += (string concatenation) operator 55
- += operator 49
- /* comment 90
- // comment 90, 150
- /= operator 49
- < (less than) operator 50
- << (left shift) operator 52, 53
- <<= operator 49
- <= (less than or equal) operator 50
- == (equal) operator 50
- === (strict equal) operator 50
- -= operator 49
- > (greater than) operator 50
- >= (greater than or equal) operator 50
- >> (sign-propagating right shift) operator 52, 53
- >>= operator 49
- >>> (zero-fill right shift) operator 52, 53
- >>>= operator 49
- ?: (conditional) operator 56
- ^ (bitwise XOR) operator 52
- ^= operator 49
- | (bitwise OR) operator 52
- |= operator 49
- || (logical OR) operator 54
- (comma) operator 56
A
- accumulator
- See tainting
- A HTML tag 199
- alert method 161, 177
- AND (&&) logical operator 54
- AND (&) bitwise operator 52
- applets
- ARCHIVE attribute 222
- arguments array 94
- arithmetic operators 51
- Array object
- arrays
- ASCII
- assignment operators 49
B
C
- captureEvents method 163
- capturing events 163
- case sensitivity 35, 147
- case statement
- See switch statement
- CGI, glossary entry 293
- CGI programs
- char arguments 252
- class-based languages, defined 122
- classes
- client
- client-side JavaScript 20, 22
- close method 177
- codebase principals 217
- comma () operator 56
- commas, in cookies 205
- comments 150
- comments, types of 90
- comment statement 90
- comparison operators 50
- compute function 161
- conditional (?:) operator 56
- conditional expressions 56
- conditional statements 80-82
- conditional tests, Boolean objects and 38, 80
- confirm method 161, 177
- console, JavaScript 289
- constructor functions 102
- containership
- continue statement 87
- cookies
- CORBA, glossary entry 293
- core JavaScript 22
D
- data tainting
- See tainting
- data types
- Boolean conversions 265
- converting 34
- converting with LiveConnect 263-272
- and Date object 34
- JavaArray conversions 268
- JavaClass conversions 270
- JavaObject conversions 268
- in JavaScript 26, 33
- JavaScript to Java conversion 264
- Java to JavaScript conversion 272
- null conversions 268
- number conversions 264
- other conversions 271
- string conversions 266
- undefined conversions 267
- Date object
- dates
- Debugger 27
- decrement (--) operator 51
- default objects, specifying 89
- defaultStatus property 204
- delete operator 57, 107
- deleting
- deprecate, glossary entry 293
- dialog boxes
- directories
- do...while statement 84
- document conventions 18
- document object 173
- See also documents
- described 178
- example of properties 174-175
- documents
- See also windows
- document object 178
E
- ECMA, glossary entry 293
- ECMAScript, glossary entry 294
- ECMA specification 28
- elements array 179
- elements property
- See elements array
- else statement
- See if...else statement
- end_time method (LiveAudio) 274
- entities 153
- error messages
- escape function 98, 205, 206
- escaping characters 42
- eval function 95, 161
- evaluating expressions 290
- event handlers
- event object 163
- events 157-170
- exceptions
- exec method 70
- expressions
- external functions, glossary entry 294
F
- fade_from_to method (LiveAudio) 274
- fade_to method (LiveAudio) 274
- flashing text applet example 254
- floating-point literals 39
- floatValue method 272
- focus method 178
- for...in statement 88, 100
- for loops
- form elements
- FORM HTML tag 173, 199
- Form object
- See also forms
- described 179
- elements array 179
- forms
- forms array 179
- forms property
- See forms array
- for statement 83
- FRAME HTML tag 177
- Frame object
- See also frames
- described 177-178
- frames
- frames array 193, 194
- FRAMESET HTML tag 192
- frames property
- See frames array
- function keyword 91
- Function object 114
- functions 91-98
G
H
- handleEvent method 163
- hash errors and signed scripts 239
- Hello World applet example 253, 262
- history list 180
- history object 173
- HREF attribute 203
- HTML
- HTML tags
- HTTP
- hypertext
- See links
I
- ID attribute 223
- identity taint code 242
- if...else statement 80
- image maps
- IMG HTML tag 203
- increment (++) operator 51
- inheritance
- initializers for objects 101
- integers, in JavaScript 39
- international characters in signed scripts 231
- internationalization 43
- IP address, glossary entry 294
- isFinite function 95
- ISMAP attribute 203
- isNaN function 96
- IsPaused method (LiveAudio) 274
- IsPlaying method (LiveAudio) 274
- IsReady method (LiveAudio) 274
J
- JAR files 222, 223, 234
- Java
- See also LiveConnect
- accessing JavaScript 256
- accessing with LiveConnect 249
- applets and same origin policy 215
- arrays in JavaScript 251
- calling from JavaScript 249
- classes 251
- communication with JavaScript 247-272
- compared to JavaScript 26, 121-144
- getting JavaScript window handle 260
- to JavaScript communication 256
- JavaScript exceptions and 259
- methods requiring char arguments 252
- objects, naming in JavaScript 250
- object wrappers 249
- packages 251
- JavaArray object 249, 251
- JavaArray type conversions 268
- JavaClass object 249, 251
- JavaClass type conversions (LiveConnect) 270
- JavaObject object 249, 250
- JavaObject type conversions 268
- java package 250
- JavaPackage object 249, 251
- JavaScript
- accessing from Java 256
- background for using 15
- case sensitivity 147
- client-side 22
- communication with Java 247-272
- compared to Java 26, 121-144
- components illustrated 21
- core 22
- differences between server and client 20
- displaying errors 289
- ECMA specification and 28
- embedding in HTML 147-155
- entities 153
- external file of 152, 214
- and HTML layout 176-177
- to Java Communication 249
- Navigator 22-23
- object wrappers 272
- overview 19
- right-hand evaluation 153
- server-side 24-26
- special characters 41
- specifying version 148
- URLs 201
- versions and Navigator 16
- JavaScript console 289
- javascript typein 290
- JSException class 256, 259
- JSObject, accessing JavaScript with 257
- JSObject class 256
L
- labeled statements
- label statement 86
- language, specifying 148
- LANGUAGE attribute 148
- layers
- layout, HTML 176-177
- left shift (<<) operator 52, 53
- length property 118
- links
- literals 37
- LiveAudio 273-278
- LiveConnect 247-272
- accessing Java directly 249
- accessing JavaScript objects 260
- accessing JavaScript properties 260
- calling JavaScript methods 261
- calling user-defined functions from Java 262
- controlling Java applets 252
- controlling Java plug-ins 255
- converting data types 263-272
- getting a window handle 260
- glossary entry 294
- Hello World example 262
- Java to JavaScript communication 256
- and LiveAudio 273-278
- objects 249
- LiveWire applications, validating form input for 167
- location object 173
- location property 194
- logical operators 54
- loops
- loop statements 82-88
- lowercase 35, 147
M
- mail filters 281-287
- MAP HTML tag 202
- matching patterns
- See regular expressions
- match method 70
- Math object 116
- messages
- METHOD attribute 175
- methods
- MIME, glossary entry 294
- MIME types
- mimeTypes array 209
- mimeTypes property
- See mimeTypes array
- modulus (%) operator 51
N
- NAME attribute 175
- Navigator
- Navigator JavaScript
- See client-side JavaScript
- navigator object 172
- See also Navigator
- described 181
- Netscape cookie protocol
- Netscape Messenger 281-287
- netscape package 250
- Netscape packages
- See packages
- Netscape Signing Tool 215, 237
- new operator 58, 102
- NOSCRIPT HTML tag 154
- NOT (!) logical operator 54
- NOT (-) bitwise operator 52
- NS_ENABLE_TAINT environment variable 241
- null keyword 33
- null value conversions (LiveConnect) 268
- Number function 97
- Number object 117
- numbers
O
- object manipulation statements
- object model 121-144
- objects 99-119, 171-187
- adding properties 103, 104
- constructor function for 102
- creating 101-103
- creating new types 58
- deleting 57, 107
- establishing default 89
- event 163
- getting list of properties for 100
- hierarchy of 171
- indexing properties 104
- inheritance 129
- initializers for 101
- iterating properties 100
- JavaScript in Java 257
- literals 40
- LiveConnect 249
- model of 121-144
- overview 100
- predefined 107
- single instances of 101
- onChange event handler 167, 169
- onClick event handler 161, 167, 169, 208
- onMouseOut event handler 204
- onMouseOver event handler 204
- onSubmit event handler 170
- open method 177
- operators
- OR (|) bitwise operator 52
- OR (||) logical operator 54
- output
P
- packages, Java 251
- Packages object 250
- pages
- parentheses in regular expressions 69, 73
- parent property 197
- parseFloat function 96
- parseInt function 96
- parse method 113
- pattern matching
- See regular expressions
- pause method (LiveAudio) 274
- PI property 116
- play method (LiveAudio) 274
- Plugin class 256
- Plugin object
- See plug-ins
- plug-ins
- plugins array 209
- plugins property
- See plugins array
- predefined objects 107
- PRE HTML tag 185
- primitive value, glossary entry 294
- printing generated HTML 185
- prompt method 177
- properties
- prototype-based languages, defined 122
- prototypes 129
Q
- quotation marks
R
S
- same origin policy 212-215
- SCRIPT HTML tag 148
- scripts
- scroll method 178
- search method 70
- security 211-243
- See also same origin policy, signed scripts, tainting
- same origin policy 212-215
- signed scripts 215-239
- tainting 240-243
- self property 197
- semicolons
- servers
- server-side JavaScript 20, 24-26
- setDay method 112
- setInterval method 178
- setTime method 113
- setTimeout method 178
- setvol method (LiveAudio) 274
- short-circuit evaluation 55
- signed scripts 215-239
- after signing 238
- codebase principals and 217
- events from other locations 230
- expanded privileges 224
- frames and 230
- hash errors 239
- hints for using 234
- identifying 222
- importing and exporting functions 231, 234
- international characters in 231
- JAR file name 222, 223, 234
- Java security classes 224
- layers and 219
- more information on 216
- Netscape Signing Tool 215, 237
- principals 215, 218
- privileges 215
- SSL servers and 216
- targets 215, 226
- troubleshooting 238
- trusted code base 235
- unsigned layers 230
- using minimal capability 237
- windows and 219
- sign-propagating right shift (>>) operator 52, 53
- space characters, in cookies 205
- special characters in regular expressions 65, 77
- special operators 56
- split method 70
- SRC attribute 152, 214
- SSL, unsigned scripts and 216
- start_at_beginning method (LiveAudio) 274
- start_time method (LiveAudio) 274
- statements
- static, glossary entry 295
- status bar
- status property 178, 204
- stop_at_end method (LiveAudio) 274
- StopAll method (LiveAudio) 274
- stop method (LiveAudio) 274
- String function 97
- string literals 41
- String object
- strings
- subclasses 123
- submit method 170
- subwindows, updating 187
- sun package 250
- switch statement 81
T
U
V
W
- while loops
- while statement 85
- window object 172
- See also windows
- described 177-178
- methods of 177
- windows
- with statement 117
- wrappers
- writeln method 185
- write method
- WWW, glossary entry 295
X
Z
Table of Contents | Previous
Last Updated: 05/27/99 21:21:51
