Index

Special Note to Readers

Chapters 1-9 are located in the book. Chapters 10-15 appear on the CD. The indexes found in both the book and the CD are identical.

When you look up information in either index, you will notice that some page numbers have CD: before them. These refer to pages found only on the CD. For example, the following listing lets you know whether information is located in the book or on the CD:

checked property, 615, CD:1585, CD:1590

Symbols

~ (bitwise NOT operator), 224

: (colon), 72–74, 284, 573, 580, 589, CD:2016

, (comma), 214–215

. (dot) (pattern matching character), 86

# (hash symbol), 578, 885

" " (double quotation marks), 35, 1215

' ' (single quotation marks), 35

_ (underscore), 37

( ) (parentheses), 61

(…) (pattern matching character), 87

$ (pattern matching character), 87

$1,$2,…$9 property, 474

-- (decrement operator), 48–49, 204–205

--> comment tags (HTML), 33

{ } (curly brackets), 63–65, 77

{x} (pattern matching character), 87

{x,y} (pattern matching character), 86

! (logical NOT operator), 55, 205–206

!= (not equal operator), 57, 206–207

!== (non-identity operator), 58, 207–208

* (pattern matching character), 87

* (multiplication operator), 47, 213

*= (multiplication assignment operator), 52, 213–214

= (assignment operator), 37, 232

== (equal operator), 56–57, 233–234

=== (identity operator), 58, 234–235

? (question mark), 573, 886, 1323

? (pattern matching character), 87

?: (conditional operator), 58–59, 218–219

& (bitwise AND operator), 60, 210–211

&= (bitwise AND assignment operator), 53, 212–213

&& (logical AND operator), 211–212

ˆ (bitwise exclusive OR operator), 219

ˆ (pattern matching character), 87

ˆ (XOR bitwise operator), 60

ˆ= (bitwise exclusive OR assignment operator), 53, 220–221

| (pattern matching character), 87

| (OR bitwise operator), 60, 221, 646

|= (bitwise OR assignment operator), 53, 223–224

|| (logical OR operator), 55, 222–223

% (modulus operator), 47, 208–209

%= (modulus assignment operator), 209–210

%== (assignment) operator, 53

%% (AND) logical operator, 55

- (bitwise NOT operator), 60

- (subtraction operator), 46–47, 202–203

- (unary negation operator), 49, 203–204

-= (subtraction assignment operator), 52, 232–233

+ (addition operator), 46, 49–50, 53, 225

+ (pattern matching character), 87

+ (plus sign), 563

+= (addition assignment operator), 52, 227–228

++ (increment operator), 48, 226–227

[ ] (square brackets) operator, 40, 250

[…] (pattern matching character), 86

[] (pattern matching character), 86

[ˆ…] (pattern matching character), 86

[ˆx-y] (pattern matching character), 86

[x-y] (pattern matching character), 86

< (less than comparison operator), 57–58, 228–229

<= (less than or equal operator), 58, 231–232

<!-- comment tags (HTML), 33

<!-- --> comment tags (HTML), 33

<< (shift left operator), 61, 229–230

<<= (shift left assignment operator), 53, 230–231

> (greater than operator), 57, 235–236

>= (greater than or equal operator), 58, 236–237

>> (shift right with sign operator), 61, 237–238

>>= (shift right with sign assignment operator), 53, 238–239

>>> (shift right zero fill operator), 61, 239–240

>>>= (shift right zero fill assignment operator), 53, 240–241

@cc_on statement, 200

@if statement, 200–201

@set property, 201–202

@_alpha variable, 193–194

@_jscript build variable, 195

@_jscript variable, 194

@_jscript version variable, 196

@_jscript_build variable, 195

@_jscript_version variable, 195

@_mac variable, 196

@_mc680x0 variable, 197

@_PowerPC variable, 197–198

@_win16 variable, 198

@_win32 variable, 199

@_x86 variable, 199–200

/ (division operator), 47, 215

/ (forward slash), 86, 573, 587, CD:2016

/n character, 1290

/r character, 1290

/= (division assignment operator), 52, 217

/* */ comment tags (C), 33

/* / (multiline comments), 216

// (single-line comments), 33, 216–217

//? (wscript.exe and cscript.exe option), 185

//B (wscript.exe and cscript.exe option), 185

//D (wscript.exe and cscript.exe option), 185

//E:engine (wscript.exe and cscript.exe option), 185

//H:cscript (wscript.exe and cscript.exe option), 185

//H:wscript (wscript.exe and cscript.exe option), 185

//I (wscript.exe and cscript.exe option), 185

//Job:<jobID>(wscript.exe and cscript.exe option), 185

//logo (wscript.exe and cscript.exe option), 185

//nologo (wscript.exe and cscript.exe option), 185

//S (wscript.exe and cscript.exe option), 185

//T:nn (wscript.exe and cscript.exe option), 185

//U (wscript.exe and cscript.exe option), 185

//X (wscript.exe and cscript.exe option), 185

(backslash), 35, 87

' (escape sequence), 36

" (escape sequence), 35–36

( (literal character), 88

) (literal character), 88

[ (literal character), 88

] (literal character), 88

{ (literal character), 88

} (literal character), 88

| (literal character), 87

* (literal character), 87

+ (literal character), 87

. (literal character), 87

/ (literal character), 87

? (literal character), 87

B (pattern matching character), 87

cX (literal character), 88

D (pattern matching character), 86

f (literal character), 87

InetpubASPSampSamples directory, 1320

(literal character), 87

(literal character), 87

s (pattern matching character), 86

(literal character), 87

v (literal character), 87

W (pattern matching character), 86

x (pattern matching character), 87

xHH (literal character), 88

XXX (literal character), 88

\ escape sequence, 36

\ (literal character), 87

A

A drive readiness, code to determine, CD:1838

a option (open( ) method), 1275, 1286

<a> tag, formatting, code, 1192

-a version command-line parameter, 160

Abandon( ) method (Session object), 1379–1380

abbr property (HTMLTableCellElement object), CD:1674-1675

abbreviations, root key, CD:1997-1999

Abort event, 90

ABORT

event (Event object), 698

property, code, 720–721

above property (Layer object), 821–824

abs( ) method (Math object), 408–410

abstract keyword, 241

accept property (HTMLInputElement object), CD:1585-1587

acceptCharset property (HTMLFormElement object), CD:1546-1548

accessKey property

code, CD:1481-1482, CD:1514, CD:1587-1588, CD:1603

HTMLAnchorElement object, CD:1480

HTMLAreaElement object, CD:1497

HTMLButtonElement object, CD:1513

HTMLInputElement object, CD:1585

HTMLLabelElement object, CD:1602

HTMLLegendElement object, CD:1605

HTMLTextAreaElement object, CD:1715

acos( ) method (Math object), 408–411

action property

code, CD:1548

Form object, 761

HTMLFormElement object, CD:1546

actions of forms, 656–657

Active Server Pages (ASPs), 24–25, 168–169 177

ActiveXObject

method, CD:1825

object, 241–242

ad tags, 18

add( ) method, code, CD:1659-1661, CD:1909

Add( ) method (Dictionary object), CD:1825-1826

Add property (Folders collection), CD:1909

Add Windows PrinterConnection( ) method (WshNetwork object), CD:1964

addClient( ) function, 1176, 1316

addEventListener( ) method (EventTarget object), CD:1744-1746

AddHeader( ) method (Response object), 1335

addition assignment operator (+=), 227–228

ADDITION constant (MutationEvent object), CD:1756

addition operator (+), 46, 49–50, 53, 225

AddPrinterConnection( ) method (WshNetwork object), CD:1964-1965

addResponseHeader( ) function, 1176–1177

AddWindowsPrinterConnection( ) method, code, CD:1966

advanced assignment, 52–53

agent property (request object), 1327–1328

alert boxes

code, 1090

displaying, code, 606–609, 627–628

onResize event handler code, 1133

type properties, code to display, 992, 1041–1042, 1059–1060, 1080–1081

alert method (Window object), 1085

alert( ) method, 103–106, 1090

align parameter (blobImage( ) method), 1190

align property

code, 998, CD:1491-1493, CD:1523, CD:1564-1566

HTMLAppletElement object, CD:1490

HTMLDivElement object, CD:1523

HTMLHeadingElement object, CD:1564

HTMLHRElement object, CD:1565

HTMLIFrameElement object, CD:1570

HTMLImageElement object, CD:1577

HTMLInputElement object, CD:1585

HTMLLegendElement object, CD:1605

HTMLObjectElement object, CD:1624

HTMLParagraphElement object, CD:1648

HTMLTableCaptionElement object, CD:1673

HTMLTableCellElement object, CD:1674

HTMLTableColElement object, CD:1684

HTMLTableElement object, CD:1688

HTMLTableRowElement object, CD:1703

HTMLTableSectionElement object, CD:1710

Style object, 649, 662, 688, 995

aLink property (HTMLBodyElement object), CD:1507-1509

alinkColor property, 636–638, 1108

ALL HTTP variable (ServerVariables collection), 1324

all property (Document object), 636

ALL RAW variable (ServerVariables collection), 1324

ALT MASK modifier, code to access, 707

alt property

code, CD:1491, CD:1499, CD:1579, CD:1589

HTMLAppletElement object, CD:1490

HTMLAreaElement object, CD:1497

HTMLImageElement object, CD:1577

HTMLInputElement object, CD:1585

altKey property (MouseEvent object), CD:1748-1749

altText parameter (blobImage( ) method), 1190

alwaysLowered parameter (Window object), 1134

alwaysRaised parameter (Window object), 1134

anchor length property, hyperlinks, 642–643

anchor( ) method (String object), 498

Anchor object, 564–565

name property, 566–567

text property, 567–568

unwatch( ) method, 568–569

watch( ) method, 569–570

x property, 570–571

y property, 571

anchors, iterating, code, CD:1526-1527

anchors property

array, anchor names, 642

Document object, 636

HTMLDocument object, CD:1525

window.document property, 1108

AND (%%) logical operator, 55

AND (&) bitwise operator, 60

AOL, Web browser, 108

AppActivate( ) method (WshShell object), CD:1990-1991

appCodeName property (navigator object), 904–905

appendChild( ) method (Node object), CD:1455-1457

appendData( ) method (CharacterData object), CD:1407, CD:1410

AppendToLog( ) method (Response object), 1335–1336

APPL MD PATH variable (ServerVariables collection), 1324

APPL PHYSICAL PATH variable (ServerVariables collection), 1324

Apple Macintosh system, code to alert when on, 196

applet array, length property, 116–117

Applet object, 572

applets (Java)

accessing, code, 644–645

applet array, 116–118

call( ) method, code, 398–399

checking, code, 116–117

iterating, code, CD:1527-1528

JavaScript, code, 401

loading, HTML code, 122–123

text, changing, 122–123

applets property

array, code to access applets, 644

Document object, 636

HTMLDocument object, CD:1525

window.document property, 1108

Application object, 168, 1177–1178

Application OnEnd event (Application object), 1178

Application OnStart event (Application object), 1178

Application.Application_OnEnd event function, 1178

Application.Application_OnStart event function, 1179

Application.Contents collection, 1179–1180

Application.Contents.Lock( ) method, 1181–1182

Application.Contents.Remove( ) method, 1180

Application.Contents.RemoveAll( ) method, 1180–1181

Application.StaticObjects collection, 1182

Application.Unlock method, 1182–1183

applications

binaries, COM servers, CD:1824

Debugging window, 166

e-mail pages, building, 174

jsac (JavaScript Application Compiler), 160

locking, code, 1305

Microsoft, JScript support, CD:1823

Server Side JavaScript Application Manager, 161–167

settings (default), for Server Side JavaScript Application Manager, 164–165

Web-based, 27

apply( ) method (Function object), 353–354

appName property (navigator object), 904–906

appVersion property (navigator object), 904–907

architectures, WSH (Windows Script Host), 180–181

archive property

code, CD:1492, CD:1626

HTMLAppletElement object, CD:1490

HTMLObjectElement object, CD:1624

Area object

Areas, code to create, 574–576

description, 573

event handlers, 574

events, code to pass, 577–578

handleEvent( ) method, 573

hash property, 573, 579–580

host property, 573, 581

hostname property, 573, 582–583

href property, 573, 583–584

methods, 573

onDblClick event handler, 574, 585

onMouseOut event handler, 574, 585–586

onMouseOver event handler, 574, 586–587

pathname property, 573, 587–588

port property, 573, 588–589

properties, 573

protocol property, 573, 589–590

search property, 573, 590–591

syntax, 573

target property, 573, 592–593

unwatch( ) method, 573, 594–595

watch( ) method, 573, 596–597

Area.handleEvent( ) method, 576–577

Area.hash property, 578

Area.host property, 580

Area.hostname property, 582

Area.href property, 583

Area.onDblClick event handler, 584–585

Area.onMouseOut event handler, 585

Area.onMouseOver event handler, 586

Area.pathname property, 587

Area.port property, 588

Area.protocol property, 589

Area.search property, 590

Area.target property, 591

Area.unwatch( ) method, 594

Area.watch( ) method, 596

areas

creating, code, 574–576

properties, code to access, 574–576

areas property, CD:1615-1616

arg1,:argN argument

Array object, 269

concat( ) method, 251

push( ) method, 259

arg3,:argN argument (Array object), 266

argl1,:argN argument (Array object), 249

arguments

ActiveXObject object, 242

arg1,:argN, 251, 259, 269

arg3,:argN (Array object), 266

argl1,:argN (Array object), 249

arguments array, 79

Array object, 249

arrays, code to sort, 264–265

Attr object, CD:1404

Boolean object, 273

borderWidths( ) method, 1005

Button object, 597

CharacterData object, CD:1407

Checkbox object, 615

concat( ) method, 251

constructor (Date object, 286

Counter object, CD:1767

CSSMediaRule object, CD:1775

CSSPrimitiveValue object, CD:1780

CSSRuleList object, CD:1790

CSSStyleDeclaration object, CD:1792

CSSStyleSheet object, CD:1801

CSSValue object, CD:1805

CSSValueList object, CD:1807

Date object, 286

day, 286, 326

delete (Array object), 266

description (Error object), 341

displaying, code, CD:1962-1963

Document object, CD:1412, CD:1425

DOMException object, CD:1429

DOMImplementation object, CD:1431

Element object, CD:1434

Entity object, CD:1445

Error object, 341–342

function (Array object), 263–264

of functions, code to access with arguments array, 79

hours, 286, 326

int (Array object), 249

join( ) method, 255

label, 280, 283

location (ActiveXObject), 242

margins( ) method, 1017

milliseconds (UTC( ) method), 326

milliseconds1 or milliseconds2 (Date object), 286

minutes, 286, 326

month, 286, 326

Node object, CD:1454

Notation object, CD:1470

num (Button object), 597

num1 or num2 (Checkbox object), 615

number (Error object), 341

number of, code to retrieve, CD:1961

paddings( ) method, 1021

passing to displayArguments( ) function, 79

ProcessingInstruction object, CD:1472

push( ) method, 259

retrieving, code, CD:1942-1943

seconds, 286, 326

serverName (ActiveXObject), 242

slice( ) method (Array object), 262

sort( ) method (Array object), 263–264

splice( ) method (Array object), 266

start (Array object), 262, 266

stop (Array object), 262

stored procedures, code to set, 1268–1269

string, 255, 286, 597

typeName (ActiveXObject), 242

types, stored procedures, 1251

unshift( ) method (Array object), 269

UTC( ) method (Date object), 326

value (Boolean object), 273

year, 286, 326

Arguments object, 243–247

arithmetic operators

% (modulus), 47

* (multiplication), 47

+ (addition), 46, 49–50

++ (post-increment), 48

++ (pre-increment), 48

-- (post-decrement), 49

-- (pre-decrement), 48–49

- (subtraction), 46–47

- (unary), 49

/ (division), 47

Math object, methods, 46

NaN (Not A Number), 45

arity property, 353, 356

Array object, 42, 249–272

array of items, retrieving, CD:1829

array of keys, retrieving, CD:1830-1831

array subsections, selecting, 262–263

arrayOfNum1 array, 54

arrayOfNum2 array, 54

arrays

[ ] (square brackets) operator, 40

anchors property, 642

applet, 116–118

applets property, 644

arguments, 79

Array object, 42

arrayOfNum1, 54

arrayOfNum2, 54

as objects, 43–44

document.all property, 639

elements, 129–130, 255–265, 269–270

embeds, 697

food orders, 266

Form, 125–128

form, 762–763

forms property, 657–658

history property, 1117–1118

images property, 664–665

indexes, strings, 41

JavaScript 1.0, 44–45

JScript, converting to Visual Basic arrays, CD:1829

layers property, 667–668

length, 42

link property, 670–671

multidimensional, 39, 42–43

one-dimensional, 40

options property, 988–98

plug-ins, 118–120

properties, code to access, 44

string indexes, 40

subsections, code to select, 262–263

toString( ) method, 268–269

Visual Basic, converting to JScript arrays, CD:1829

ASCII, equivalents, converting hexadecimal values, code, 380

asin( ) method (Math object), 408, 411–412

ASPs (Active Server Pages), 24–25, 168–169 177

ASPCode property (ASPError object), 1183–1184

ASPDescription property (ASPError object), 1183–1184

ASPEnvironment, 158

ASPError object, 168, 1183–1184

ASPError.ASPCode property, 1184

ASPError.ASPDescription property, 1184

ASPError.Category property, 1185

ASPError.Column property, 1185

ASPError.Description property, 1185–1186

ASPError.File property, 1186

ASPError.Line property, 1186

ASPError.Number property, 1187

ASPError.Source property, 1187

assigning

client object properties, 1194–1195

events, CD:1799

methods, 258–259, 275–276

values, 54

variables, 37–38

assignment operator (=), 37, 232

assignment operators, 50, 53–54

associations, ECMA (European Computer Manufacturers Association), 7

asterisk (*) (pattern matching character), 87

AT TARGET constant (Event object), CD:1733

atan( ) method (Math object), 408, 412–413

atan2( ) method (Math object), 408, 413–414

atEnd( ) method (Enumerator object), 337–338

AtEndOfLine property (TextStream object), CD:1912-1914

AtEndOfStream property (TextStream object), CD:1913-1915

atob method (Window object), 1085, 1091

Attr object, CD:1403-1404

Attr.name property, CD:1404

Attr.ownerElement property, CD:1406

Attr.specified property, CD:1404-1405

Attr.value property, CD:1405

attrChange property (MutationEvent object), CD:1756-1758

ATTRIBUTE NODE constant (Node object), CD:1454

attributes

adding, CD:1415

cookies, 139

createAttribute( ) method, CD:1414

expires, 137

getAttribute( ) method, CD:1435-1436, CD:1443

getAttributeNode( ) method, CD:1436

getAttributeNodeNS( ) method, CD:1437

getAttributeNS( ) method, CD:1437

href (<img> tag), 1190

language, 33, 57

length (Array object), 42

method, GET or POST, 124–125

names, 147, CD:1404

path, cookies, 137

patterns, 88

property, CD:1455-1456

removeAttribute( ) method, CD:1440

removeAttributeNode( ) method, CD:1441

removeAttributeNS( ) method, CD:1441

retrieving, CD:1846-1847

secure, cookies, 137

setAttribute( ) method, CD:1442

setAttributeNode( ) method, CD:1442-1443

setAttributeNodeNS( ) method, CD:1443

setAttributeNS( ) method, CD:1444

specifying, CD:1405

type, 32

values, code to write, CD:1405-1406

Attributes property, CD:1845-1847, CD:1891-1893

attrName property (MutationEvent object), CD:1756-1759

AUTH PASSWORD variable, 1324

AUTH TYPE variable, 1324, 1386

AUTH USER variable, 1324

automated traffic light, 67–69

Automation objects, 272

AvailableSpace property, CD:1833-1834

availHeight property (screen object), 967–969

availLeft property, 969

availTop property, 970

availWidth property, 970

axis property, CD:1674-1677

B

 escape sequence, 36

back( ) method, 799–800, 1085, 1092, 1117

background property, 821–825, CD:1507-1509

backgroundColor property, 649, 662, 688, 995, 998–999

backgrounds, colors, code to set, 353

backslash (), 35, 87, 160

BaseElement object, code to create, CD:1539-1540

Bcc property (SendMail object), 1355–1357

beginTransaction( ) method, 1199, 1201–1202, 1234–1236

below property (Layer object), 821, 825–826

bgColor property

code, 826–827, CD:1510, CD:1677, CD:1690, CD:1704

Document object, 636

HTMLBodyElement object, CD:1507

HTMLTableCellElement object, CD:1674

HTMLTableElement object, CD:1688

HTMLTableRowElement object, CD:1703

Layer object, 821

modifying, code, 646

window.document property, 1108

Big button object, properties, 71

big( ) method (String object), 498

binaries, COM servers, CD:1824

binary data, writing to files, 1296–1297

binary large objects (BLOB), 1188

BinaryRead( ) method (Request object), 1318–1319

BinaryWrite( ) method (Response object), 1335–1336

bindings, DOM Level 2 Core language, CD:1403

bitwise operators, 59

AND (&), 60, 210–211

AND (&=), 212–213

NOT (-), 60

NOT (~), 224

OR (|), 60, 221

OR (ˆ), 219

OR (ˆ=), 220–221

OR (|=), 223–224

shift left (<<), 61

shift right with sign(>>), 61

shift right zero fill (>>>), 61

XOR (ˆ), 60

blink( ) method (String object), 498

BLOB (binary large objects), 1188

blob( ) function, 1188

blob object, 1189

blobImage( ) method (blob object), 1189–1191

blobLink( ) method, 1191–1192

blocks, 97–101

blue property (RGBColor object), CD:1816

Blur event, 90

BLUR

event (Event object), 698

property, 721–722

blur( ) method, 1085

Button object, 598

buttons, code to remove focus, 599–600

check boxes, code to remove focus, 617–618

Checkbox object, 615

code, 747, 780, 923–924, CD:1482, CD:1589

FileUpload object, 746

Frame object, 779

HTMLAnchorElement object, CD:1481

HTMLInputElement object, CD:1586

HTMLSelectElement object, CD:1659

HTMLTextAreaElement object, CD:1715

Password object, 922

Radio object, 938

Reset object, 952

select boxes, code to remove focus, 977

Select object, 975

Submit button, code to remove focus, 1032

Submit object, 1030

text areas, code to remove focus, 1065–1066

text boxes, code to remove focus, 1048

Text object, 1046

Textarea object, 1063

window focus, code to remove, 1092–1093

body property (HTMLDocument object), CD:1525

Body property (SendMail object), 1355, 1358, CD:1528

<body> tag, 118, 151, 781

bold( ) method (String object), 498

Boolean data type, 36

boolean keyword, 272–273

Boolean object, 273–280

border parameter (blobImage( ) method), 1190

border property

code, 809–810, CD:1579, CD:1626, CD:1691

HTMLImageElement object, CD:1577

HTMLObjectElement object, CD:1624

HTMLTableElement object, CD:1688

Image object, 807

borderBottomWidth property (Style object), 649, 662, 688, 995, 1000

borderColor property (Style object), 649, 662, 688, 995, 1001

borderLeftWidth property (Style object), 649, 662, 688, 995, 1002

borderRightWidth property (Style object), 649, 662, 688, 995, 1002–1003

borderStyle property (Style object), 649, 662, 688, 995, 1003

borderTopWidth property (Style object), 649, 662, 688, 995, 1004

borderWidths( ) method (Style object), 650, 663, 689, 995, 1005

bottom property (Rect object), CD:1812-1813

boxes, upload, code to set focus, 748, See also alert boxes; check boxes

brackets

{ } (curly),

63 [ ] (square), 250

brake parts, inventory list, 43

Break at Next Statement command, 103

break keyword, 71–73, 280

break statements, loops, 75

browsers. See Web browsers

btoa( ) method (Window object), 1085, 1094

bubbles property (Event object), CD:1733-1735

BUBBLING PHASE constant (Event object), CD:1733

Buffer property, 1337

buffers, flushing to pages, 1298

build number (JScript), 195

building

e-mail pages, 174

links dynamically, code, 1176

BuildPath( ) method (FileSystemObject object), CD:1864-1866

built-in controls for Web browsers, 116–120

Built-In Maximum Database Connections application setting, 164

built-in values of numbers, 34–35

Button object, 71, 597–598

button property (MouseEvent object), CD:1748-1750

Button.blur( ) method, 599

Button.click( ) method, 600

Button.focus( ) method, 601

Button.form property, 602

Button.handleEvent( ) method, 603

Button.name property, 605

Button.onBlur event handler, 606

Button.onClick event handler, 606–607

Button.onFocus event handler, 607

Button.onOnMouseDown event handler, 608

Button.onOnMouseUp event handler, 608

Button.type property, 609

Button.unwatch( ) method, 610

Button.value property, 612

Button.watch( ) method, 613

buttons

creating, 598–599

focus, 599–602

names, 605–606

parent, 602–603

pop-up message boxes, CD:1996

Reset, 76

Submit, 1032–1034

text, code to modify, 612–613

type, code to access, 609–610

bvalue property (HTMLTextAreaElement object), CD:1715

byte keyword, 281–282

bytes, strings, 1277–1278, 1291–1292

byteToString( ) method (File object), 1275–1278

C

-c command-line parameter, 160

C drive, CD:1834, CD:1839-1840

C programming, /* */ comment tags, 33

C subfield (ClientCertificate collection), 1320

C++ programming, // comment tags, 33

CacheControl property, 1338

call by reference (functions), 77

call by value (functions), 77–78

call by value versus call by reference (functions), 78

call( ) method, 353, 357, 397–399

callC( ) function, 1192–1193

called checkNum function, 136

callee property, 243–246, 353, 358

caller property, 243, 246–247, 353, 358–359

cancelable property (Event object), CD:1733-1736

canceling events, 93–95

caption property (HTMLTableElement object), CD:1688-1691

captureEvents( ) method, 647–648

code, 827–828

Document object, 637

Layer object, 822

window.document property, 1108

Window object, 1085

capturing events, 92–93, 684–685

CAPTURING PHASE constant (Event object), CD:1733

Car object, 398, 402–405

carriage returns, writing to files, 1297–1298

case keyword, 282

catch block, 97

catching runtime errors, code, 99–100

Category property (ASPError object), 1183–1185

Cc property (SendMail object), 1355, 1358

CDATA SECTION NODE constant (Node object), CD:1454

CDATA sections, CD:1415, CD:1419

CDATASection object, CD:1406-1407

ceil( ) method, code, 414–415

ceil property (Math object), 408

cellIndex property (HTMLTableCellElement object), CD:1674, CD:1678

cellPadding property (HTMLTableElement object), CD:1688, CD:1692

cells property (HTMLTableRowElement object), CD:1703-1705

cellSpacing property (HTMLTableElement object), CD:1688, CD:1692-1693

CERT COOKIE variable (ServerVariables collection), 1324

CERT FLAGS variable (ServerVariables collection), 1324

CERT ISSUER variable (ServerVariables collection), 1325

CERT KEYSIZE variable (ServerVariables collection), 1325

CERT SECRETKEYSIZE variable (ServerVariables collection), 1325

CERT SERIALNUMBER variable (ServerVariables collection), 1325

CERT SERVER ISSUER variable (ServerVariables collection), 1325

CERT SERVER SUBJECT variable (ServerVariables collection), 1325

CERT SUBJECT variable (ServerVariables collection), 1325

Certificate field (ClientCertificate collection), 1319

CGIs (common gateway interfaces), 5

ch property

code, CD:1678, CD:1685, CD:1705-1706, CD:1711

HTMLTableCellElement object, CD:1674

HTMLTableColElement object, CD:1684

HTMLTableRowElement object, CD:1703

HTMLTableSectionElement object, CD:1710

Change event, 90

CHANGE

event (Event object), 698

property, code to access, 722–723, 744–745

changeState( ) function, 152

char keyword, 282

Character property (WshRemoteError object), CD:1979-1980

CharacterData object, CD:1407

CharacterData.appendData( ) method, CD:1409

CharacterData.data property, CD:1408

CharacterData.deleteData( ) method, CD:1411

CharacterData.insertData( ) method, CD:1410

CharacterData.length property, CD:1408

CharacterData.replicateData( ) method, CD:1411

CharacterData.substringData( ) method, CD:1409

characters

comments, //, 33

literal, 87

/n, 1290

pattern matching, 86–87

/r, 1290

special (strings), 35–36

unencoded, 334–335, 369–370

variables, 37

charAt( ) method (String object), 498

charCodeAt( ) method (String object), 498

Charset property, code, 1338, CD:1483, CD:1610, CD:1656

charset property, CD:1480, CD:1609, CD:1655

check boxes

alert boxes, code to display, 627–628

checked properties, code to modify, 618–620

click( ) method, code, 620–621

creating, code, 615–617

focus, code, 617–618, 623

names, code to display, 626–627

parent access, code, 624

passing events to, code, 625

resetting, code, 621–622

type properties, code to access, 631–632

value properties, code to access, 634–635

Checkbox object, 614–615

Checkbox object:num1 argument, 615

Checkbox object:num2 argument, 615

Checkbox.blur( ) method, 617

Checkbox.checked property, 618

Checkbox.click( ) method, 620

Checkbox.defaultChecked property, 621

Checkbox.focus( ) method, 622

Checkbox.form property, 623–624

Checkbox.handleEvent( ) method, 624

Checkbox.name property, 626

Checkbox.onBlur event handler, 627

Checkbox.onClick event handler, 628–629

Checkbox.onFocus event handler, 630

Checkbox.type property, 631

Checkbox.unwatch( ) method, 632

Checkbox.value property, 634

Checkbox.watch( ) method, 635

checked property, 615, 938, 941, CD:1585, CD:1590

checkPhone function, 136

cheese, code to select, 630–631

child code, 139–141, 144–145

childNodes property (Node object), CD:1455-1458

children

appendChild( ) method, code, CD:1457

hasChildren( ) method, code, CD:1417

objects, 8

removeChild( ) method, code, CD:1469

replaceChild( ) method, code, CD:1470

chOff property

code, CD:1679, CD:1686, CD:1706, CD:1712

HTMLTableCellElement object, CD:1674

HTMLTableColElement object, CD:1684

HTMLTableRowElement object, CD:1703

HTMLTableSectionElement object, CD:1710

chromes, AOL and Internet Explorer browsers, 108

cite property, code, CD:1622-1623, CD:1653-1654

class keyword, 282

classes

creating, 648

property, 636, 649–650

style sheets, code to create, 650

className property. 460, CD:1539-1540

clear property, 649, 662, 688, 995, 1006, CD:1513

Clear( ) method (Response object), 1335, 1339

clearError( ) method (File object), 1275, 1278–1279

clearInterval( ) method, 779–781, 1085, 1097

clearTimeout( ) method access, 779–781, 1085, 1098

CLICK

event (Event object), 698

property, code to access, 723–724

Click event, 90

click events, 600–605, 672

click( ) method

Button object, 598

Checkbox object, 615

code, 600–601, 620–621, 942, 954–955

HTMLInputElement object, CD:1586

Radio object, 938

Reset object, 952

Submit object, 1030

clicks

handleEvent( ) method, 1036–1037

on pages, 1052–1053, 1070–1071, 1116

client object, 1193–1197

Client Object Maintenance application setting, 165

client-side

browser syntax, 563

JavaScript, 11–12

scripting

cookies, 136–139

dynamic documents, 145–154

form processing, 124–136

Web browsers, 108–123

windows, 139–145

XUL (XML-based User Interface Language), 154–156

server-side, 158–159

validation, 131–135

versatility, 24–25

Client-Side JavaScript, Netscape DevEdge Web site, 21

client.destroy( ) method, 1195

client.expiration( ) method, 1196

client.property property, 1196

client.unwatch( ) method, 1197

client.watch( ) method, 1198

ClientCertificate collection (Request object), 1318–1320

clientX property (MouseEvent object), CD:1748-1750

clientY property (MouseEvent object), CD:1748-1751

clip.bottom property (Layer object), 821, 828–829

clip.height property (Layer object), 821, 829–830

clip.left property (Layer object), 821, 830–831

clip.right property (Layer object), 821, 831–832

clip.top property (Layer object), 821, 832–833

clip.width property (Layer object), 821, 833–834

cloneNode( ) method (Node object), CD:1455, CD:1458

close( ) method

code, 1099–1100, CD:1529, CD:1915

Cursor object, 1219

cursors, code to close, 1221–1222, 1389–1390

Document object, 637

document output streams, code to close, 651–652

File object, 1275

files, code to close, 1279

HTMLDocument object, CD:1525

Resultset object, 1345

resultsets, code to close, 1346–1347

Stproc object, 1388

TextStream object, CD:1912

Window object, 1085

window.document property, 1108

closed property (Window), 1101–1102, 1087

closing

cursors, code, 1221–1222, 1389–1390

document output streams, code, 651–652

files, code, 1279

resultsets, code, 1346–1347

clothing stores, displaying inventory, 41

CN subfield (ClientCertificate collection), 1320

code

, (comma), 215

?: (conditional operator), comparing with if statement, 59, 218–219

-- (decrement operator), 204–205

( ) (parentheses), 61

* (multiplication operator), 213

*= (multiplication assignment operator), 214

% (modulus operator), 209

%= (modulus assignment operator), 209–210

! (logical NOT operator), 205–206

!= (not equal operator), 207

!== (non-identity operator), 208

& (bitwise AND operator), 210–211

&= (bitwise AND assignment operator), 212–213

&& (logical AND operator), 211–212

+ (addition operator), numeric and string values, 49–50

++ (increment operator), 226–227

+= (addition assignment operator), 228

- (subtraction operator), 202–203

- (unary negation operator), 203–204

-= (subtraction assignment operator), 233

/ (division operator), 215

/= (division assignment operator), 217

/* / (multiline comments), 216

// (single-line comments), 216–217

= (assignment operator), 232

== (equal operator), 234

=== (identity operator), 235

A drive readiness, determining, CD:1838

<a> tag, formatting, 1192

Abandon( ) method, 1380

abbr property, CD:1675

ABORT property, 720–721

above property, 823–824

abs( ) method, 409–410

accept property, setting, CD:1587

acceptCharset property, CD:1547-1548

accessKey property, CD:1481-1482, CD:1498, CD:1514, CD:1587-1588, CD:1603

acos( ) method, 410–411

action property, CD:1548

ActiveXObject object, creating Excel multiplication table, 242

add( ) method, CD:1660-1661, CD:1909

addClient( ) and redirect( ) functions, 1176

addEventListener( ) method, CD:1745-1746

AddHeader( ) method, 1335

AddPrinterConnection( ) method, CD:1965

addResponseHeader( ) function, content-type of files, 1177

AddWindowsPrinterConnection( ) method, CD:1966

agent property, accessing, 1328

alert boxes, displaying, 606–609, 627–628, 1041–1042, 1059–1060, 1090

alert( ) method, 1090

align property, 998, CD:1491-1493, CD:1523, CD:1564-1566, CD:1570-1571

aLink property, CD:1508-1509

alinkColor property, setting, 638

ALT MASK modifier, accessing, 707

alt property, CD:1491, CD:1499, CD:1579, CD:1589

altKey property, CD:1749

Anchor objects, creating, 564–565

Anchor.name property, accessing, 566–567

Anchor.text property, accessing, 567–568

Anchor.unwatch( ) method, 568–569

Anchor.watch( ) method, 569–570

Anchor.x property, accessing, 570–571

Anchor.y property, accessing, 571

anchors length property, creating hyper-links, 642–643

anchors property array, accessing anchor names, 642

AppActivate( ) method, CD:1991

appCodeName property, 905

appendChild( ) method, CD:1457

appendData( ) method, CD:1410

AppendToLog( ) method, 1336

Apple Macintosh systems, alerting when on, 196

Applet objects, accessing methods, 572

applets, accessing, 645

applets property array, accessing applets, 644

Application object, 1178

Application.Application_OnEnd event function, 1178

Application.Application_OnStart event function, 1179

Application.Contents collection, 1180

Application.Contents.Lock( ) method, 1181–1182

Application.Contents.Remove( ) method, 1180

Application.Contents.RemoveAll( ) method, 1181

Application.StaticObjects collection, 1182

Application.Unlock method, 1182–1183

applications, locking, 1305

apply( ) method, 354

appName property, 906

appVersion property, 906–907

archive property, CD:1492, CD:1626

Area object, passing events, 577–578

areas, creating, 574–576

areas property, CD:1616

arguments, CD:1942-1943, CD:1961-1963

arguments property, 355, CD:1930-1931, CD:1942-1943, CD:2006

Arguments property, command-line parameters, CD:1931

arity property, 356

Array object, 250–251, 267–268

arrays

creating in JavaScript 1.0, 45

elements, 255–257, 260–265, 269–270

items, retrieving, CD:1829

keys, retrieving, CD:1830-1831

multidimensional, 42–43

properties, accessing, 44

subsections, selecting, 262–263

toString( ) method, 268–269

asin( ) method, 411–412

ASP environment, testing, 169

ASPCode property, 1184

ASPDescription property, 1184

ASPError object, 1184

assignment operators, 51–52

assignments by values versus reference, 54

atan( ) method, 412–413

atan2( ) method, 413–414

atEnd( ) method, 337–338

AtEndOfLine property, CD:1913-1914

AtEndOfStream property, CD:1914-1915

atob( ) method, 1091

attrChange property, CD:1758

attributes, 1404-1406, CD:1415, CD:1846-1847

Attributes property, CD:1456, CD:1893

attrName property, CD:1758-1759

automated traffic light, 67–69

availHeight property, accessing, 968–969

availLeft property, accessing, 969

availTop property, accessing, 970

availWidth property, accessing, 970

axis property, CD:1676-1677

back( ) method, 800, 1092

background colors, setting, 353

background property, 824–825, CD:1509

backgroundColor property, 998–999

backgroundImage property, 999–1000

BaseElement object, creating, CD:1539-1540

Bcc property, 1357

beginTransaction( ) method, 1201–1202, 1236

below property, 825–826

bgColor property, 646, 826–827, CD:1510, CD:1677, CD:1690

BinaryRead( ) method, 1319

BinaryWrite( ) method, 1336

BLOB data, inserting into databases, 1188

blob( ) function, inserting BLOB data into databases, 1188

BLUR property, 721–722

blur( ) method, 747, 780, 953–954, CD:1482, CD:1589

buttons, removing focus, 599–600

check boxes, code to remove focus, 617–618

select boxes, code to remove focus, 977

Submit button, code to remove focus, 1032

text areas, removing focus, 1065–1066

text boxes, removing focus, 1048

window focus, removing, 1092–1093

blur property, reading, CD:1816

Body property, 1358, CD:1528

Boolean object versus primitive Boolean value, 274

border property, 809–810, CD:1579, CD:1626, CD:1691

borderBottomWidth property, 1000

borderColor property, 1001

borderLeftWidth property, 1002

borderRightWidth property, 1002–1003

borderStyle property, 1003

borderTopWidth property, 1004

borderWidths( ) method, 1005

bottom property, reading, CD:1813

break keyword, labels, 280–281

breaks and labels (loops), 72–73

btoa( ) method, 1094

bubbles property, CD:1735

Buffer property, 1337

Buffers, flushing to pages, 1298

button focus, shifting, 601–602

Button object property names, accessing with for…in loop, 71

Buttons, 590–606, 609–613, CD:1750

bytes into strings, converting, 1277–1278

byteToString( ) method, 1277–1278

C drive, CD:1834, CD:1839-1840

CacheControl property, 1338

call by value (functions), 77

call( ) method, 357, 398–399

callC( ) function (registered), 1192–1193

callee property, 244–246, 358

caller property, 246–247, 358–359

cancelable property, CD:1735-1736

caption property, CD:1689, CD:1691

captureEvents( ) method, 647–648, 827–828

Car object, 398, 402–405

Category property, 1185

Cc property, 1358

CDATA sections, CD:1415, CD:1419

ceil( ) method, 414–415

cellIndex property, CD:1678

cellPadding property, CD:1692

cells property, CD:1705

cellSpacing property, CD:1692-1693

ch property, CD:1678, CD:1685, CD:1705-1706, CD:1711

CHANGE property, accessing, 722–723, 744–745

Character property, CD:1980

Charset property, 1338, CD:1483, CD:1610, CD:1656

check boxes

checked properties, code to modify, 618–620

click( ) method, 620–621

creating, 615–617

focus, applying, 623

focus, code to remove, 617–618

names, code to display, 626–627

parent access, 624

passing events to, 625

resetting, 621–622

type properties, code to access, 631–632

value properties, code to access, 634–635

checked property, 941, CD:1590

cheese, selecting, 630–631

child, windows, 144–145

childNodes property, iterating, CD:1457-1458

chOff property, CD:1679, CD:1686, CD:1706, CD:1712

cite property, CD:1623, CD:1654

className property, CD:1540

Clear( ) method, 1339

clear property, 1006, CD:1513

clearError( ) method, 1278–1279

clearInterval( ) method, 780–781, 1097

clearTimeout( ) method, 781, 1098

click events, 600–605, 672

click( ) method, 600–601, 620–621, 954–955, 1033, CD:1590-1591

CLICK property, accessing, 723–724

clicks on pages, 1052–1053, 1070–1071

client object properties, 1194–1197

ClientCertificate collection, 1320

clientX property, CD:1750

clientY property, CD:1751

clip.bottom property, 828–829

clip.height property, 829–830

clip.left property, 830–831

clip.right property, 831–832

clip.top property, 832–833

clip.width property, 833–834

cloneNode( ) method, CD:1458

close( ) method, 1099–1100, CD:1529, CD:1915

cursors, closing, 1221–1222, 1389–1390

document output streams, closing, 651–652

files, closing, 1279

resultsets, closing, 1346–1347

closed property, 1101–1102

code letters, displaying, CD:1835

code property, CD:1627

codeBase property, CD:1493, CD:1627-1628

CodePage property, 1380

codeType property, CD:1628

color parameter, displaying, CD:1948-1949

color property, 1007, CD:1506, CD:1545

colorDepth property, accessing, 971

cols property, CD:1561, CD:1717

colSpan property, CD:1679

column names (tables), 1223–1224

Column property, 1185, CD:1916

columnName( ) method, 1223–1224, 1347–1348

columnName property, 1222

columns( ) method, 1224, 1348–1349

comments, 17, CD:1416

commitTransaction( ) method, 1202–1203, 1237

compact property, CD:1522-1525, CD:1618, CD:1637, CD:1726

compile( ) method, 476–477

complete property, 810

ComputerName property, CD:1966-1967

conditional compilations, 200

confirm( ) method, 1103

connect( ) method, 1238–1239, 1259–1264

connected( ) method, connections, 1203–1204, 1239–1240, 1260–1261

Connection object, creating, 1200–1201

connections, 1203–1204, 1210–1211, 1239–1240

ConnectObject( ) method, CD:1932

constructor property, 253, 275, 359, 453–454, 1280, 1301–1302

content property, CD:1619

content-type of files, setting, 1177

contentDocument property, CD:1555, CD:1571, CD:1629

Contents collection, 1381

ContentType property, 1339

contextual( ) method, changing italic text, 652

continue statement, 284–285

continue statement and labels, 74

cookies, 138–139, 653, CD:1529

Cookies collection, 1321, 1340

coords property, CD:1483, CD:1499

Copy( ) method, CD:1894

cos( ) method, 415–416

Count( ) method, CD:1946, CD:1956, CD:1961, CD:2014, CD:2017-2018

Count property, 1322–1324, CD:1910-1911

Counter object, properties, CD:1767-1768

createAttribute( ) method, CD:1414

createCaption( ) method, CD:1693

createCSSStyleSheet( ) method, invoking, CD:1811

createDocument( ) method, CD:1432

createDocumentFragment( ) method, CD:1416-1417, CD:1425

createDocumentType( ) method, CD:1433

createEvent( ) method, CD:1732-1734

createHTMLDocument( ) method, CD:1538

CreateObject( ) method, 1369, CD:1933, CD:1953-1954

CreateShortcut( ) method, CD:1992

createTextNode( ) method, CD:1420

createTFoot( ) method, CD:1694

createTHead( ) method, CD:1694

crypto property, 1103–1104

crypto.random( ) method, 1104

crypto.signText( ) method, 1105

CSSRule object, CD:1787

CSSRuleList object, iterating, CD:1790, CD:1794, CD:1806, CD:1817

cssRules property, iterating, CD:1775-1776, CD:1801-1802

CSSStyleSheet object, creating, CD:1801

cssText property, CD:1788, CD:1793-1794, CD:1806

CSSValueList object, iterating, CD:1807

cssValueType property, reading, CD:1806

ctrlKey property, CD:1751-1752

current property, 801

CurrentDirectory property, CD:1992-1993

currentTarget property, CD:1736

cursor( ) method, 1204, 1240

Cursor object, 1220–1221

cursors, 1067–1068, 1221–1222, 1389–1390

D drive, finding, CD:1873

Data, decoding, 1091, 1094

data property, CD:1408, CD:1473

database connection errors, 1205–1208, 1243–1245, 1264–1267

database connections, disconnecting, 1241–1242

database object, creating, 1234–1235

database.prototype property, 1246–1247

databases, 1204, 1238–1240, 1259–1264

Date objects, 288, 323

DateCreated property, CD:1894-1895

DateLastAccessed property, CD:1895-1896

DateLastModified property, CD:1896-1897

dates, 321–327

dateTime property, CD:1623

DblClick events, 673

DBLCLICK property, accessing, 724–725

DbPool instances, creating, 1262–1263

DbPool( ) method, code, 1262–1263

DbPool object, creating, 170, 1257–1258

DbPool.prototype property, 1267–1268

debug( ) function, 1273

debugging with alert( ) method, 105–106

DEC Alpha processor, detecting, 194

declare property, CD:1630

decodeURI( ) function, 329, 367

decodeURIComponent( ) function, 330–331, 368

defaultChecked property, 942–943, CD:1591

defaultSelected property, 916, CD:1642

defaultStatus property, 1106

defaultValue property, 924–925, 1066–1067, 1049, CD:1592, CD:1717-1718

defer property, CD:1656

Delete( ) method, CD:1897

delete operator, 331–332

deleteCaption( ) method, CD:1695

deleteCell( ) method, CD:1707

deleteData( ) method, CD:1411

deleteResponseHeader( ) function, 1274

deleteRow( ) method, 1225–1226, CD:1695-1696, CD:1712

deleteRule( ) method, CD:1776, CD:1802

deleteTFoot( ) method, CD:1696

deleteTHead( ) method, CD:1697

description property, 342–343, 935, 1186, CD:1981, CD:2006-2007

destroy( ) method, 1195

detail property, CD:1762

dictionaries, items, CD:1826-1828

Dictionary object, CD:1825-1832

disabled property, CD:1515, CD:1592-1593, CD:1611, CD:1640, CD:1662

disableExternalCapture( ) method, 1106–1107

disconnect( ) method, 1241–1242

dispatchEvent( ) method (EventTarget object), CD:1744-1746

display property, 1008

displayArguments( ) function, 79

DML queries, running, 1205, 1242

docType property, checking, CD:1420-1421

document anchors, iterating, CD:1526-1527

document applets, iterating, CD:1527-1528

document layers, displaying, 668–669

Document object, creating, CD:1413, CD:1435

document property, 781–784, 834–835

document.all property array, 639

documentElement property, CD:1421

documents, 680, CD:1418

DOM (Document Object Model), uses of, 149–151

domain property, CD:1530

DOMException object, CD:1430-1431

DOMImplementation object, CD:1431-1432

do…while loop, 333

DRAGDROP property, 726

drive letters, displaying, CD:1835

Drive object, CD:1833-1835

Drive property, CD:1898

drives

accessing, 338–339

checking, CD:1874

moving to, 340–341

number of, accessing, CD:1843

retrieving, CD:1844-1845

share names, returning, CD:1841

total size, displaying, CD:1841-1842

types, displaying, CD:1836

volume name, returning, CD:1842

Drives collection, displaying number of items, CD:1843-1844

E property, 416–417

Echo( ) method, CD:1934

elements (Document object), creating, CD:1435

elements property, CD:1549

elements.length property, 765–766

else keyword, 334

embedded objects, 654–655, 697

embeds property, listing embedded objects, 654

enabledPlugin property, accessing, 901

enableExternalCapture( ) method, 1111

encodeURI( ) function, 335, 369

encodeURIComponent( ) function, 336, 370

encoding property, reading, CD:1770-1771

enctype property, CD:1550

End event, CD:1973-1974

End( ) method, 1340

entities property, CD:1426

entity references, creating, CD:1418-1419

Enumerator object, creating, 337

enumerators, moving, 339–340

EnumNetworkDrives( ) method, retrieving network drive mapping, CD:1967

EnumPrinterConnection( ) method, displaying printers, CD:1968

Environment property, CD:1993

environment variables, 1387, CD:1956-1959

eof( ) method, finding end of files, 1280–1281

equals( ) method, 400

Error event, CD:1974

error( ) method, 1281–1282

Error object, creating, 342

Error property, CD:1975

ERROR property, accessing, 727

error codes, displaying, 1359–1360

Errorsto property, 1361

escape( ) function, 345–346

escape( ) method, 371

eval( ) function, 347, 372

eval( ) method, 400–401, 454

event capturing, preventing, 684–685

event event, 1384

event handlers, defining with dot notation, 93

Event keyword, 699–700

event.data property, accessing, 701–702

event.height property, accessing, 702–703

event.layerX property, accessing, 703–704

event.unwatch( ) method, 715–716

EventException object, functions, CD:1741-1743

EventListener object, functions, CD:1743

eventPhase property, CD:1737

events, 577–578, 660–661, CD:1799

exec( ) method, 477–478

Exec( ) method, CD:1994

Execute( ) method, 1370, CD:1976

execute( ) method, 1205, 1242

exists( ) method, files, checking for existence, 1282

exp( ) method, 417–418

ExpandEnvironmentStrings( ) method, CD:1994-1995

expiration( ) method, 1196

Expires property, 1341

ExpiresAbsolute property, 1341

export keyword, 348

face property, CD:1506, CD:1545

favorite foods, displaying, 243–244

fgColor property, text colors, 656

File object, 1276–1277, CD:1845-1846, CD:1856-1857

File property, 1186

filename property, 935–936

filenames, retrieving, CD:1854

files

binary data, writing, 1296–1297

checking, 1282, CD:1875

closing, 1279

contents, displaying, 175–176

copying, CD:1848, CD:1867

creation dates, retrieving, CD:1848-1849

dates last accessed, code, CD:1849-1850

dates last modified, CD:1850-1851

deleting, CD:1851-1852, CD:1871

drive letters, obtaining, CD:1852-1853

errors, clearing, 1278–1279

finding end of, 1280–1281

moving to new directory, CD:1853

opening, 1286

short names, accessing, CD:1858

short paths, obtaining, CD:1858-1859

sizes, obtaining, CD:1859-1860, CD:1882

strings, 1295–1296, CD:1855-1856

systems, displaying, CD:1836-1837

types of, CD:1860

writing strings and carriage returns, 1297–1298

Files object, CD:1861-1864

Files property, CD:1899

FileSystemObject object, CD:1865-1870, CD:1877-1883, CD:1886-1890

FileUpload object, 746–747

FileUpload.form property, 749–750

FileUpload.name property, accessing, 752–753

FileUpload.onBlur event handler, 753–754

FileUpload.type property, accessing, 757

FileUpload.value property, 759

find( ) method, 1112

firstChild property, reading, CD:1459

floor( ) method, 418–419

Flush( ) method, 1342

flush( ) function, buffers, 1298

flush( ) method, 1283

focus, setting to upload box, 748

focus( ) method, 925, 943–944, 1112–1113, CD:1484, CD:1593

accessing, 782

buttons, shifting focus, 601–602

select boxes, code to place cursor, 978–979

Submit button, code to set focus, 1034

text areas, placing cursor, 1067–1068

text boxes, placing cursor, 1050–1051

FOCUS property, accessing, 728–729

Folder object, CD:1892

folder objects, retrieving, CD:1884

folders, deleting, CD:1872

Folders collection, CD:1909

fontFamily property, 1008–1009

fontSize property, 1010

fontStyle property, 1010–1011

fontWeight property, 1011–1012

food orders, simulating, 266

for loop, 66, 350

Form collection, 1322

Form object, 658–659, 761–764

form property, 794, CD:1543-1544, CD:1593-1594, CD:1624-1625, CD:1719

buttons, accessing parent, 602–603

forms, accessing, 1051–1052, 1069

forms, code to access, 979–980

Form.encoding property, accessing, 766–767

Form.length property, 768–769

formKey property, reading, 1329

forms

accessing, 126–127, 979–980, 1035–1036, 1051–1052, 1069

client-side validation, 131–135

elements, accessing, 129, 764–765

iterating, CD:1530-1531, CD:1540-1541

names, accessing, 657–658

submitting, 1033

writing information, 130–131

forms actions, accessing, 656–657

forward( ) method, 801–802, 1114, 1171–1172

for…in object, 351

Frame object, 779

frame property, CD:1697

Frame.parent property, 787

frameBorder property, CD:1556, CD:1572

frames property, 783, 1114

free space, retrieving, CD:1837-1838

From property, 1362

fruit dictionaries, CD:1825-1827

FullName property, CD:1934, CD:2007, CD:2021

function arguments, accessing with arguments array, 79

function keyword, 352

getAttribute( ) method, CD:1435-1436, CD:1443

getAttributeNode( ) method, CD:1436

getAttributeNodeNS( ) method, CD:1437

getAttributeNS( ) method, CD:1437

getComputedStyle( ) method, CD:1819

getCounterValue( ) method, CD:1782

getDate( ) method (Date object), 289–290

getDay( ) method (Date object), 290–291

GetDrive( ) method (FileSystemObject object), CD:1833-1834

getElementsByName( ) method, CD:1531-1532

getElementsByTagName( ) method, CD:1438

getElementsByTagNameNS( ) method, CD:1438-1439

getFloatValue( ) method, CD:1782-1783

getFullYear( ) method (Date object), 291–292

getHours( ) method (Date object), 292

GetLastError( ) method, 1370

getLength( ) method, 1284

getMilliseconds( ) method (Date object), 293

getMinutes( ) method (Date object), 293

getMonth( ) method (Date object), 294–295

getNamedItem( ) method, CD:1448-1449

getNamedItemNS( ) method, CD:1449

GetObject function, 365

getOptionValue( ) function, 1299–1300

getOptionValueCount( ) function, 1300

getOverrideStyle( ) method, overriding, CD:1809-1810

getPosition( ) method, 1285

getPropertyCSSValue( ) method, invoking, CD:1794

getPropertyPriority( ) method, CD:1795

getPropertyValue( ) method, CD:1795-1796

getRectValue( ) method, CD:1783

getRGBColor( ) method, CD:1781-1782

getRGBColorValue( ) method, CD:1784

getSeconds( ) method (Date object), 295–296

getSlot( ) method, 403

getStringValue( ) method, CD:1784

getTime( ) method (Date object), 296–297

getTimezoneOffset( ) method (Date object), 297

getUTCDate( ) method (Date object), 298

getUTCDay( ) method (Date object), 298–299

getUTCFullYear( ) method (Date object), 300

getUTCHours( ) method (Date object), 300–301

getUTCMilliseconds( ) method (Date object), 301

getUTCMinutes( ) method (Date object), 302

getUTCMonth( ) method (Date object), 302–304

getUTCSeconds( ) method (Date object), 304

getVarDate( ) method (Date object), 305

getWindow( ) method, 403

getWrappedException( ) method, 396

getYear( ) method (Date object), 305–306

global property, 478

go( ) method, 802

green property, reading, CD:1817

grocery inventory, displaying, 251–252

handleEvent( ) method, 603–605, 751–752, 836, 981–982, 1036–1037, 1116

clicks on pages, 1052–1053, 1070–1071

events, passing, 660–661

hasAttribute( ) method, CD:1439

hasAttributeNS( ) method, CD:1440

hasAttributes( ) method, CD:1459-1460

hasChildren( ) method, CD:1417

hasFeature( ) method, CD:1434

hash property, 579–580, 867–868, 887

headers property, CD:1680

height property, 811–812, 971–972, CD:1494, CD:1572, CD:1631, CD:1680-1681

Hello World script, 185–186

hexadecimal values, converting to ASCII equivalents, 380

Hidden object, code, 793–794

History object, 799

home( ) method, 1118

host property, 581, 868–869, 888, 1374

hostname property, 582–583, 869–870, 889–890, 1375

Hotkey property, CD:2008

href property, 583–584, 870–871, CD:1484-1485, CD:1500, CD:1609-1612, CD:1772-1773

hrefLang property, CD:1485, CD:1612

hspace property, 812–813, CD:1494, CD:1580-1581, CD:1632

HTML (Hypertext Markup Language), 122–123, 176, 640–641

HTMLAnchorElement object, CD:1481-1489

HTMLAppletElement object, CD:1491-1497

HTMLAreaElement object, CD:1498-1503

HTMLBaseElement object, CD:1503-1505

HTMLBaseFontElement object, CD:1506-1507

HTMLBodyElement object, CD:1508-1512

HTMLBRElement object, CD:1512-1513

HTMLButtonElement object, CD:1513-1518

HTMLCollection object, CD:1518-1521, CD:1532

HTMLDirectoryElement object, CD:1521-1522

HTMLDivElement object, CD:1523

HTMLDListElement object, CD:1524-1525

HTMLDocument object, CD:1526

HTMLDOMImplementation object, CD:1538

HTMLElement object, CD:1540

HTMLEncode( ) method, 1370

HTMLFieldSetElement object, CD:1543-1544

HTMLFontElement object, CD:1545-1546

htmlFor property, CD:1604

HTMLFormElement object, CD:1547-1554

HTMLFrameElement object, CD:1554-1560

HTMLFrameSetElement object, CD:1561-1562

HTMLHeadElement object, CD:1562-1563

HTMLHeadingElement, CD:1564-1565

HTMLHRElement object, CD:1565-1568

HTMLHtmlElement object, CD:1568

HTMLIFrameElement object, CD:1570-1571

HTMLImageElement object, CD:1578-1585

HTMLInputElement object, CD:1586-1600

HTMLIsIndexElement object, CD:1600-1602

HTMLLabelElement object, CD:1602-1604

HTMLLegendElement object, CD:1605-1607

HTMLLIElement object, CD:1607-1609

HTMLLinkElement object, CD:1609-1615

HTMLMapElement object, CD:1616-1617

HTMLMenuElement object, CD:1617-1618

HTMLMetaElement object, CD:1619-1621

HTMLModElement object, CD:1622-1623

HTMLObjectElement object, CD:1624-1636

HTMLOListElement object, CD:1637-1638

HTMLOptGroupElement object, CD:1639-1641

HTMLOptionElement object, CD:1641-1647

HTMLParagraphElement object, CD:1648-1649

HTMLParamElement object, CD:1649-1652

HTMLPreElement object, CD:1652-1653

HTMLQuoteElement object, CD:1653-1654

HTMLScriptElement object, CD:1655-1659

HTMLSelectElement object, CD:1660-1670

HTMLStyleElement object, CD:1670-1673

HTMLTableCaptionElement object, CD:1673-1674

HTMLTableCellElement object, CD:1675-1683

HTMLTableColElement object, CD:1684-1688

HTMLTableElement object, CD:1689-1702

HTMLTableRowElement object, CD:1703-1709

HTMLTableSectionElement object, CD:1710-1714

HTMLTextAreaElement object, CD:1715-1724

HTMLTitleElement object, CD:1724-1725

HTMLUListElement object, CD:1726-1727

httpEquiv property, CD:1620

hyperlinks, creating, 642–643

IconLocation property, CD:2009

identifier property, reading, CD:1768

identifiers, retrieving elements, CD:1421-1422

if statement, 382

if…else statement, 63–64, 382–383

ignoreCase property, 479

Image object, 808–809

images, 664–665

images property array, 664–665

imageX property, 1330

imageY property, 1330

<img> tag, formatting, 1189–1191

implementation property, CD:1423-1424

import keyword, 384

in keyword, 384–385

index property, 253–254, CD:1644

Infinity keyword, 385–386

Infinity property, 373–374

initEvent( ) method, CD:1737-1738

innerHeight property, 1119

innerWidth property, 1120–1121

input property, 254, 480

insertBefore( ) method, CD:1461

insertCell( ) method, CD:1707

insertData( ) method, CD:1410

insertRow( ) method, 1226–1227, CD:1698, CD:1713

insertRule( ), CD:1777, CD:1803

instance properties, displaying, 975–976, 1030–1031

instanceof keyword, 386–387

instances of Window object, creating, 1088–1090

Intel processor, alerting when on, 199–200

Interactive property, retrieving script mode, CD:1936

internalSubset property, reading, CD:1427

ip property, verifying authorization, 1331

IsClientConnected property, 1342

isFinite( ) method, 374–375, 388

isMap property, CD:1581

isNaN( ) function, 375–376, 388–389

IsRootFolder property, CD:1900

isSupported( ) method, CD:1461-1462

isValid( ) method, 1302

italic text, changing, 652

item( ) method, CD:1450

drives, accessing, 338–339

HTML elements, code to find, 640

invoking, CD:1796, CD:1807-1808

iterating, CD:1791

Item( ) method, CD:1946-1947, CD:1957

Item property, CD:1911-1912, CD:1962-1963, CD:2014-2015, CD:2018

Java, 116–117, 121–122

java object, 389–390

javaArray object, 390–391

javaClass object, 393

javaEnabled( ) method, 907–908

javaObject object, 393–394

javaPackage object, 394–395

JavaScript, loading applet, 401

JScript, 177, 194–195

JSException object, 395

JSObject object, 397

KeyDown events, 674

KEYDOWN property, accessing, 729–730

KeyPress events, 675

KEYPRESS object, accessing, 730–731

keys, changing, CD:1830

keystrokes, sending to Notepad, CD:2002

KeyUp events, 676

KEYUP property, accessing, 731–732

label keyword, 407

label property, CD:1640-1641, CD:1645

lang property, writing, CD:1542

language property, 908

lastChild property, reading, CD:1462

lastIndex property, 481

lastIndex property (Array object), 256

lastMatch property, 482

lastModified property, displaying prices, 666–667

lastParen property, 482–483

Layer object, 667–668, 823

layers property array, 667–668

layerY property, 704–705

LCID property, 1383

left property, 837, CD:1814

leftContext property, 483–484

length property, 360, 783, 1115, CD:1450-1451, CD:1947-1948

accessing, 989

applets, code to access, 645

arguments, displaying, CD:1963

embedded objects, listing, 655

environment variables, code to display, CD:1958

getting, CD:1796-1797

images, displaying number of, 665

iterating, CD:1520

layers in documents, code to display, 668–669

links, displaying, 671

property (Arguments object), 248–249

reading, CD:1791-1792, CD:1808

select box names, code to retrieve, 982–983

text data length, checking, CD:1408-1409

Line property, 1186, CD:1916-1917, CD:1981-1982

lineHeight property, 1012–1013

link colors, setting, 669–670

Link object, 865–866

link property, CD:1510

link property array, displaying URLs, 670–671

linkColor property, link colors, 669–670

links

building dynamically, 1176

colors, setting, 692–693

creating, 683

displaying, 671

iterating, CD:1533

listStyle property, reading, CD:1769

listStyleType property, 1013–1014

LN10 property, 419

LN2 property, 420

Load events, 677

load( ) method, 838

LOAD property, 733

localName property, assigning, CD:1462-1463

Location object, 886

location property, 1122

locationbar property, 1122

locationbar.visible property, 1123

lock( ) method, 1303, 1313, 1375

Lock( ) object, creating, 1301

Lock.isValid( ) method, 1302

locking, 1303, 1313

locks, verifying, 1302

log( ) method, 421

LOG2E property, 423

LOG10E property, 422

LogEvent( ) method, CD:1995-1996

longDesc property, CD:1556, CD:1573, CD:1582

loops, stopping, 337–338

lowsrc property, 813, CD:1577-1578, CD:1582

majorErrorCode( ) method, 1205–1206, 1243, 1264

majorErrorMessage( ) method, 1206–1207, 1243–1244, 1265

MapNetworkDrive( ) method, CD:1968-1969

MapPath( ) method, 1371

marginBottom property, 1014–1015

marginHeight property, CD:1557, CD:1573-1574

marginLeft property, 1015

marginRight property, 1016

margins( ) method, 1017

marginTop property, 1018

marginWidth property, CD:1557-1558, CD:1574

matches, displaying positions, 253–256

Math object, creating, 409

max( ) method, 423–424

MAX VALUE property, 441–442

maxLength property, CD:1594

media property, CD:1612-1613, CD:1672, CD:1774, CD:1777

media types, setting, CD:1775

menubar property, 1124

menubar.visible property, 1124–1125

message property (Error object), displaying, 343

messages, displaying, 629–630

metaKey property, CD:1753

method property, 769–770, 1331–1332, CD:1551

methods

assigning, 258–259, 275–276

creating, 307–308, 1209–1210, 1228–1229, 1246–1247, 1267–1268

MimeType object, 899–900

mimeTypes property, 909

min( ) method, 424–425

MIN VALUE property, 442

minorError Message( ) method, 1266–1267

minorErrorCode( ) method, 1207–1208, 1244–1245, 1265–1266

minorErrorMessage( ) method, 1208, 1245

modifier values, accessing, 707

modifiers property, accessing, 706–707

Motorola 680-0 processors, alerting when on, 197

Motorola PowerPC processors, alerting when on, 197–198

mouse events, CD:1748-1749, CD:1752

MouseDown events, 677–678

MOUSEDOWN property, accessing, 734

MOUSEMOVE property, accessing, 735

MOUSEOUT property, 736

MOUSEOVER property, accessing, 736–737

MouseUp events, 678–679

MOUSEUP property, accessing, 737–738

Move( ) method, CD:1900-1901

MOVE property, accessing, 738–739

moveAbove( ) method, 839

moveBelow( ) method, 840

moveBy( ) method, 840–841, 1125–1126

moveFirst( ) method, 339–340

moveNext( ) method, 340–341

moveTo( ) method, 841–842, 1127

moveToAbsolute( ) method, 842–843

multidimensional arrays, 42–43

multiline property, 484–485

multiple property, CD:1664

multiplication tables, creating, 66

mutation events, CD:1757, CD:1759

name property, 814, 927–928, CD:1427, CD:1516, CD:1617

accessing, 770–771

attributes, writing names, CD:1404

buttons, accessing name, 605–606

check boxes, displaying, 626–627

displaying, 344

select box names, code to retrieve, 983–984

text area names, retrieving, 1071–1072

text boxes, retrieving namees, 1054

Name property, retrieving WSH name, CD:1936

Named property, displaying color parameter, CD:1948-1949

namedItem( ) method, iterating, CD:1521

namespaceURI property, reading, CD:1463

NaN object, 376, 436

NaN property, 443

navigator object, 904–905

NEGATIVE INFINITY property, 444

netscape object, 437

netscape package, 462–463

network drive mappings, retrieving, CD:1967

network printers, displaying, CD:1968

new operator, 438

newValue property, comparing with prevValue property, CD:1760-1761

next( ) method, 1227–1228, 1349–1350

next property, 803–804

nextSibling property, reading, CD:1464

nodeName property, checking, CD:1464

nodes, importing, CD:1424

nodeType propertym checking, CD:1465

nodeValue property, processing, CD:1465-1466

noHref property, CD:1500-1501

noResize property, CD:1559

normalize( ) method, CD:1466

noShade property, CD:1566-1567

notationName property, reading, CD:1445-1446

notations property, reading, CD:1428

noWrap property, CD:1681

Number constructor, 440

Number( ) method, 377, 439

Number property, 1187, CD:1982-1983

number property (Error object), displaying, 345

Number.valueOf( ) method, 451

numbers, adding or concatenating, 225

Object object, 453

object property, CD:1495-1496

ObjectContext object, 1309

offscreenBuffering property, 1129

onAbort event handler, 814–815

onBlur event handler, 844–845, 928–929, 946–947, 1038–1039, 1055, 1130

accessing, 784–785

alert boxes, code to display, 606

alert boxes, displaying, 627–628

onChange event handler, 754–755, 985–986, 1056, 1073–1074

onClick event handler, 871, 947–948, 960

alert boxes, code to display, 607

click events, code, 672

messages, displaying, 629–630

textbox contents, displaying, 1039–1040

onDblClick event handler, 585, 673, 872

onDragDrop event handler, 1130

onError event handler, 815, 1131

onFocus event handler, 755–756, 845–846, 948–949, 1040–1041, 1131–1132

alert boxes, code to display, 607–608

cheese, selecting, 630–631

onKeyDown event handler, 674, 815, 872, 1076

onKeyPress event handler, 675, 816, 873, 1076–1077

onKeyUp event handler, 676, 816, 874, 1077–1078

onLoad event handler, 677, 817, 846–847, 1132

onMouseDown event handler, 677–678, 874–875

onMouseOut event handler, 585–586, 847–848, 875–876

onMouseOver event handler, 586–587, 848–849, 876–877

onMouseUp event handler, 678–679, 877

onMove event handler, 786, 1132

onOnMouseDown event handler, 608

onOnMouseUp event handler, 609

onReset event handler, 771–772

onResize event handler, 786–787, 1133

onSelect event handler, 1058, 1078–1079

onSubmit( ) method, 772–773

OnTransactionAbort event, 1310

OnTransactionCommit event, 1310

onUnload event handler, 680, 1133

open( ) method, 680, 1136–1137, CD:1534

opener property, 1138–1139

Option object, 915

options property, CD:1665-1666

options property array, retrieving select box properties, 988–989

Organization property, 1362

outerHeight property, 1139–1140

outerWidth property, 1141

outParamCount( ) method, 1390–1391

outParameters( ) method, 1391–1392

ownerDocument property, reading, CD:1467

ownerElement property, CD:1406

ownerRule property, reading, CD:1803

Packages object, 460–461

Packages.className property, 461

Packages.java subpackage, 462

paddingBottom property, 1019

paddingLeft property, 1019–1020

paddingRight property, 1020–1021

paddings( ) method, 1021–1022

paddingTop property, 1022–1023

pages, accessing, 1117–1118

pageX property, 707–708, 849–850

pageXOffset property, 1142–1143

pageY property, 709, 850–851

pageYOffset property, 1143–1144

parent folders, code to get names, CD:1885

parent property, 1144

parent windows, 142, 144

ParentFolder property, CD:1902

parentLayer property, 851–852

parentNode property, checking, CD:1467

parentRule property, CD:1788, CD:1797

parentStyleSheet property, reading, CD:1789

parse( ) method (Date object), 306

parseFloat( ) method, 377–378, 464

parseInt( ) method, 378–379, 465

Password object, 923

passwords, validating, 98–101

Path property, CD:1903, CD:1937

pathname property, 587–588, 878, 891–892

pattern matching, regular expressions, 89

personalbar property, visible property, 1145–1146

PI property, 426

PICS property, 1343

pixelDepth property, accessing, 972

platform property, 909–910

plug-ins, displaying, 681–682

plug-ins array, checking, 118–119

Plugin object, 934

plugins property, 681, 910

plugins.refresh( ) method, 911

pools, connections, 171

Popup( ) method, CD:1996-1997

port property, 588–589, 879, 892–893, 1376

POSITIVE INFINITY property, 444–445

pow( ) method, 426–427

preference( ) method, 912

prefix property, reading, CD:1468

preventDefault( ) method, CD:1738

previous property, 804–805

previousSibling property, reading, CD:1468-1469

prevValue property, comparing with newValue property, CD:1760-1761

prices, displaying, 666–667

primitiveType property, accessing, CD:1785

print( ) method, 788, 1146–1147

printers, adding, 184

problem, debugging, 104

procedures, stored, invoking, 1214–1215

processor types, displaying, 201

profile property, CD:1563

project object, 1312–1313

prompt( ) method, 1147

prompt property, CD:1601-1602

properties, 1209–1210, 1246–1247, 1287, 1304, CD:1805

protocol property, 589–590, 880, 893–894, 1332–1333, 1376

prototype property, 361, 445–446, 1228, 1304, 1350–1351

publicId property, reading, CD:1428, CD:1446, CD:1471

QueryString collection, 1323

Quit( ) method, CD:1937-1938

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.125.171