Team LiB
Previous Section

List of Tables

Chapter 1: Introduction to JavaScript

Table 1-1: Browser Versions and JavaScript Support

Chapter 2: JavaScript Core Features—Overview

Table 2-1: Basic Terminology of Programming Languages

Chapter 3: Data Types and Variables

Table 3-1: Summary of Special Numeric Data Values
Table 3-2: Properties of the Number Object Relevant to Special Numeric Values
Table 3-3: Escape Codes Supported in JavaScript
Table 3-4: Values Returned by the typeof Operator
Table 3-5: Result of Conversion to a Boolean
Table 3-6: Result of Converting to a Number
Table 3-7: Result of Converting to a String

Chapter 4: Operators, Expressions, and Statements

Table 4-1: Basic Arithmetic Operators
Table 4-2: Truth Tables for Bitwise Operations
Table 4-3: JavaScript’s Bitwise Operators
Table 4-4: Bitwise Shift Operators
Table 4-5: Shorthand Assignment with Arithmetic or Bitwise Operation
Table 4-6: Comparison Operators
Table 4-7: Logical Operators
Table 4-8: Return Values for the typeof Operator
Table 4-9: Precedence and Associativity of JavaScript’s Operators

Chapter 6: Objects

Table 6-1: The Four Types of Objects Available to JavaScript
Table 6-2: Properties and Methods Common to All Objects

Chapter 7: Array, Date, Math, and Type-Related Objects

Table 7-1: Arguments to the Date() Constructor
Table 7-2: Globally Available Methods
Table 7-3: Constants Provided by the Math Object
Table 7-4: Methods Provided by the Math Object
Table 7-5: Properties of the Number Object
Table 7-6: HTML-Releated String Methods

Chapter 8: Regular Expressions

Table 8-1: Flags Altering the Interpretation of a Regular Expression
Table 8-2: Regular Expression Escape Codes
Table 8-3: Repetition Quantifiers
Table 8-4: Regular Expression Character Classes
Table 8-5: Some Regular Expression Examples
Table 8-6: Instance Properties of RegExp Objects
Table 8-7: Static Properties of the RegExp Class Object

Chapter 9: JavaScript Object Models

Table 9-1: Overview of Core Browser Objects
Table 9-2: Lowest Common Denominator Document Properties
Table 9-3: Lowest Common Denominator Document Methods
Table 9-4: New Document Properties in Netscape 3
Table 9-5: New Document Properties in Netscape 4
Table 9-6: New Document Properties in Internet Explorer 4
Table 9-7: Some New Properties for Document Model Objects in IE4
Table 9-8: Some New Methods for Document Model Objects in IE4

Chapter 10: The Standard Document Object Model

Table 10-1: DOM Nodes Related to HTML Documents
Table 10-2: DOM Node Properties
Table 10-3: DOM Level 0 Collections
Table 10-4: DOM Methods to Create Nodes
Table 10-5: Text Node Manipulation Methods
Table 10-6: CSS Property-to-DOM Property Mappings
Table 10-7: Style Object Properties

Chapter 11: Event Handling

Table 11-1: The Nightmare of Browser Event Model Compatibility
Table 11-2: Basic Events and Their Corresponding Event Handler Attributes in (X)HTML
Table 11-3: A Sample of Non-standard Event Handlers Available in Netscape and Internet Explorer
Table 11-4: Effect of Returning false from Important Event Handlers
Table 11-5: Events That Can Be Invoked Directly on (X)HTML Elements
Table 11-6: Instance Properties of Netscape 4’s Event Object
Table 11-7: Static Properties of the Event Object in Netscape 4 Used for Event Capture
Table 11-8: Some Useful Properties of the IE4+ Event Object
Table 11-9: Behavior of Internet Explorer Events
Table 11-10: Properties Common to All Event Objects
Table 11-11: Mouse-Related Events Supported Under DOM2 Events
Table 11-12: Additional Properties of the Event Object When the Event Is Mouse-Related
Table 11-13: Keyboard Events Supported by Most Browsers
Table 11-14: Additional Properties of the Event Object for Key-Related Events in Mozilla
Table 11-15: Browser- and Form-Related DOM2 Events and Their Behaviors
Table 11-16: UI-Related DOM2 Events and Their Behaviors
Table 11-17: Document Mutation Events
Table 11-18: Summary of Major Features of the Event Models

Chapter 12: Controlling Windows and Frames

Table 12-1: Feature Parameter Values for window.open()
Table 12-2: Common Window Events
Table 12-3: Useful Extended Window Events
Table 12-4: Common Window Properties Related to Frames

Chapter 13: Handling Documents

Table 13-1: Document Properties Related to Color
Table 13-2: Traditional Document Collections
Table 13-3: DOM Level 1 Document Properties and Collections
Table 13-4: Common DOM Properties for HTMLElement
Table 13-5: Common DOM HTMLElement Methods
Table 13-6: (X)HTML Elements Associated with DOM HTMLElement
Table 13-7: (X)HTML Elements Associated with DOM Objects

Chapter 14: Form Handling

Table 14-1: Major Properties of the Form Object
Table 14-2: Properties and Methods Common to All Objects Representing <input> Tags
Table 14-3: Additional Method of Inputs with Type "submit", "reset", and "button"
Table 14-4: Additional Properties of Inputs of Type "image"
Table 14-5: Properties of the HTMLButtonElement Object Representing <button> Tags
Table 14-6: Additional Properties of Inputs with Type of "text" or "password"
Table 14-7: Unique Properties of the HTMLTextAreaElement Object
Table 14-8: Additional Properties of <input> with Type of "radio" or "checkbox"
Table 14-9: Additional Property of <input> with Type "file"
Table 14-10: Additional Properties and Methods of an HTMLSelectElement Object
Table 14-11: Additional Properties of the HTMLOptionElement Object
Table 14-12: Specific DOM Properties of HTMLOptGroupElement Objects
Table 14-13: Properties of the HTMLLabelElement Object
Table 14-14: The Extra Property Supported by the HTMLFieldSetElement Object
Table 14-15: Properties of the HTMLLegendElement Object

Chapter 15: Dynamic Effects: Rollovers, Positioning, and Animation

Table 15-1: Properties of Image Objects
Table 15-2: Position-Related Properties of Style Objects
Table 15-3: Useful Layer Object Properties

Chapter 16: Navigation and Site Visit Improvements

Table 16-1: The Anatomy of a Cookie

Chapter 17: Browser and Capabilities Detection

Table 17-1: Navigator Properties for Browser Name and Version Detection

Chapter 18: JavaScript and Embedded Objects

Table 18-1: Properties of the MimeType Object
Table 18-2: Some Interesting Properties of the Plugin Object

Chapter 19: Remote JavaScript

Table 19-1: Properties and Methods of the XMLHTTP Object

Chapter 21: Browser-Specific Extensions and Considerations

Table 21-1: Relationship Between JScript Language and Browser Version
Table 21-2: Relationship Between Microsoft JScript and ECMA Script
Table 21-3: Rough Correspondence Between Microsoft and Netscape/Mozilla JavaScript
Table 21-4: Proprietary Extensions to JScript in Version 3.0
Table 21-5: Methods of Enumerator Objects
Table 21-6: Conditional Compilation Variables
Table 21-7: Some Proprietary Features Introduced in Internet Explorer 4
Table 21-8: Some Proprietary Features Introduced in Internet Explorer 5
Table 21-9: Some Proprietary Features Introduced in Internet Explorer 5.5
Table 21-10: Methods of JScript’s FileSystemObject
Table 21-11: Methods Used with Dynamic Properties in Internet Explorer 5+
Table 21-12: Some Default Behaviors Available in Internet Explorer 5+
Table 21-13: Correspondence Between JavaScript Language Versions and Netscape Browser Versions
Table 21-14: Correspondence Between Language Version and ECMAScript Standards
Table 21-15: Standards Support in Mozilla-Based Browsers
Table 21-16: Mozilla-Based Browsers Interpret Pages Differently Based on Their DOCTYPEs
Table 21-17: Components of Mozilla the Platform

Chapter 22: JavaScript Security

Table 22-1: Listing of Same-Origin Check Results Assuming the Calling Script Is Found in the Document http://www.example.com/dir/page.html
Table 22-2: Some Properties and Methods Are Not Subject to the Same-Origin Check.
Table 22-3: Relevant Security Properties of Internet Explorer’s Security Zones

Chapter 23: JavaScript Programming Practices

Table 23-1: Categories of JavaScript Programming Errors
Table 23-2: Common JavaScript Errors and Their Symptoms
Table 23-3: window.onerror Values and Effects
Table 23-4: Properties of the Error Object Vary from Browser to Browser
Table 23-5: The language Attributes Recognized by Major Browsers
Table 23-6: Good Coding Style Guidelines

Appendix A: Core Syntax Quick Reference

Table A-1: Standard Versions of JavaScript
Table A-2: Correspondence Between Netscape Language and Browser Versions
Table A-3: Correspondence Between Microsoft Language and Browser Versions
Table A-4: Approximate Correspondence Between Netscape and Microsoft Implementations
Table A-5: Relationship Between Netscape JavaScript and ECMAScript
Table A-6: Relationship Between Microsoft JScript and ECMAScript
Table A-7: Primitive JavaScript Data Types
Table A-8: Useful Numeric Constants
Table A-9: String Escape Codes
Table A-10: Result of Type Conversion of Primitive Boolean Data
Table A-11: Result of Type Conversion of Null Data
Table A-12: Result of Type Conversion of Primitive Number Data
Table A-13: Result of Type Conversion of Primitive String Data
Table A-14: Result of Type Conversion of Undefined Data
Table A-15: Manual Type Conversion Techniques
Table A-16: JavaScript Built-In Objects
Table A-17: Properties of the Global Object
Table A-18: Binary (Two-Operand) and Self-assignment Arithmetic Operators
Table A-19: Pre/Postfix Arithmetic Operators
Table A-20: Unary (One Operand) Arithmetic Operators
Table A-21: Binary and Self-assignment Bitwise Operators
Table A-22: Binary Logical Operators
Table A-23: Binary Type Operators
Table A-24: Binary Relational Operators
Table A-25: Precedence and Associativity of JavaScript Operators
Table A-26: JavaScript Exception Objects
Table A-27: Some Regular Expression Examples
Table A-28: Regular Expression Flags
Table A-29: Regular Expression Repetition Quantifiers
Table A-30: Regular Expression Character Classes
Table A-31: Regular Expression Escape Codes
Table A-32: Advanced Regular Expression Features
Table A-33: Static Properties of the RegExp Object

Appendix B: JavaScript Object Reference

Table B-1: Attributes Occasionally Used to Describe Properties or Methods
Table B-2: Properties of the Style Object
Table B-3: Possible Values for the feature Entries in the features Argument to window.open()
Table B-4: Possible Values for Parts of the features Argument to showModalDialog and showModelessDialog

Appendix C: JavaScript Reserved Words

Table C-1: Reserved Words in JavaScript 1.5
Table C-2: Potentially Reserved Words

Team LiB
Previous Section