Index

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

# O

obects

with statement and : with

object context : Conversions to Objects
Object object

Object
Object.assign()
Object.constructor
Object.eval()
Object.prototype
Object.toString()
Object.valueOf()

Object()

Conversions to Objects
Conversions to and from Objects

objects

Objects
The JavaScript Object Hierarchy
access operators : Array and Object Access Operators
arrays as : Array/Object Dual Nature
as associative arrays : Objects as Associative Arrays
classes for (see classes)
comparing : Equality (==)
converting (see converting)
creation operator : Object Creation Operator (new)
for/in statement : for...in
functions as : Functions are objects
hidden (see Hidden element)
JavaObject object

The JavaObject Object
JavaScript Conversion of JavaObjects

prototypes : Object Prototypes
read-only : The assign() Method
reference counting : Reference Counting in Navigator 3.0
special methods for : Special Object Methods
testing for existence of : Event Handlers
wrapper objects

Data Type Wrapper Objects
Wrapper Objects

octal literals

Octal and Hexadecimal Literals
Escape Sequences in String Literals

octal numbers : Converting Strings to Numbers
off-screen images : Off-Screen Images and Caching
off/on (see Boolean data type)
on/off (see Boolean data type)
onabort() : Image.onabort()
onAbort() : Image Event Handlers
onAnchorClick() : Live3D
onBlur attribute : Window.onblur()
onblur() : The Window Object

for Element object : Element.onblur()
for Window object : Window.onblur()

onBlur()

onBlur() and onFocus()
Form Elements

onchange()

for Element object : Element.onchange()
for FileUpload element : FileUpload.onchange()
for Password element : Password.onchange()
for Select element : Select.onchange()
for Text element : Text.onchange()
for Textarea element : Textarea.onchange()

onClick attribute

Executable Content: JavaScript in a...
Event Handlers in JavaScript

onClick()

onClick() event handlers ignored
The Link Object
for Button element : Button.onclick()
for Checkbox element : Checkbox.onclick()
for Reset element : onClick() in reset button

onclick() : Forms and Form Elements

for Element object : Element.onclick()
for Link object : Link.onclick()
for Radio element : Radio.onclick()
for Reset element : Reset.onclick()
for Submit element : Submit.onclick()

onerror()

The Window Object
Opening and Closing Windows
for Window object : Window.onerror()

onError()

Image Event Handlers
Image.onerror()

onFocus attribute : Window.onfocus()
onFocus()

onBlur() and onFocus()
Form Elements

onfocus() : The Window Object

for Element object : Element.onfocus()
for Window object : Window.onfocus()

onLoad attribute : Window.onload()
onLoad()

Event Handlers
Image Event Handlers
for Window object

onLoad() event handler called early
Window.onload()

onload() : Image.onload()
onMouseMove() : Live3D
onMouseOut()

Miscellaneous Changes
The Link Object
Ignore the Problem
Link.onmouseout()

onMouseOver()

Status and defaultStatus
The Status Line
The Link Object
Link.onmouseover()

onreset()

Forms and Form Elements
Form.onreset()

onReset() : The Form Object
onSubmit()

The Form Object
Form.onsubmit()

onUnload attribute : Window.onunload()
onUnload()

Dialogs in onUnload()
onLoad() and onUnload() Event Handlers

onunload()

for Window object : Window.onunload()

open()

The Window Object
Object Model Differences
Scope of event handlers
Opening and Closing Windows
The write() Method
for Document object : Document.open()
for Window object

Window Size on Unix Platforms
Window.open() method
Multiple Windows and Explicit Windo...
Window.open()

opener attribute : Other Window Programming Techniques
opener property

The Window Object
Multiple Windows and Explicit Windo...
The Least-Common-Denominator Approach
Defensive Coding
Window.opener

operands : Number of Operands
operators : Operator Overview

access : Array and Object Access Operators
arithmetic

Arithmetic and Mathematical Functions
Arithmetic Operators

associativity of : Operator Associativity
bitwise : Bitwise Operators
combined with assignment : Assignment with Operation
comparison : Comparison Operators
data types with : Type of Operands
logical : Logical Operators
precedence of : Operator Precedence
string : String Operators
types of : Number of Operands

Option element

Form Elements
Form Element Names and Values
Option
Option.defaultSelected
Option.index
Option.selected
Option.text
Option.value

<OPTION> tags : Form Element Names and Values
Option()

Forms and Form Elements
The Select and Option objects

options[] property

Forms and Form Elements
Removing Elements from an Array
The Select and Option objects
Select.options[]

or (^) operator : Bitwise Xor (^)
or (|) operator : Bitwise Or (|)
or (||) operator

Miscellaneous Differences
Logical Or (||)

order

of array elements, reversing : Array Methods
of code execution : Execution of JavaScript Programs
for/in statement looping : for...in
Netscape 2.0 buttons and checkboxes : Backward radio and checkbox arrays
of operations : Operator Precedence

output

flushing : Flushing Generated Output

overloaded methods and LiveConnect : Problems with overloaded methods
overwriting

array elements : Arrays in Navigator 2.0
objects : The assign() Method
scripts : Overwriting the current script
top-level variables : var

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y

Copyright © 1997 O'Reilly & Associates, Inc. All Rights Reserved.