Books & Videos

Table of Contents

  1. Chapter 1 Introduction to JavaScript

    1. What Is JavaScript?

    2. Versions of JavaScript

    3. Client-Side JavaScript

    4. JavaScript in Other Contexts

    5. Exploring JavaScript

  2. Core JavaScript

    1. Chapter 2 Lexical Structure

      1. Character Set
      2. Case Sensitivity
      3. Whitespace and Line Breaks
      4. Optional Semicolons
      5. Comments
      6. Literals
      7. Identifiers
      8. Reserved Words
    2. Chapter 3 Datatypes and Values

      1. Numbers
      2. Strings
      3. Boolean Values
      4. Functions
      5. Objects
      6. Arrays
      7. null
      8. undefined
      9. The Date Object
      10. Regular Expressions
      11. Error Objects
      12. Type Conversion Summary
      13. Primitive Datatype Wrapper Objects
      14. Object-to-Primitive Conversion
      15. By Value Versus by Reference
    3. Chapter 4 Variables

      1. Variable Typing
      2. Variable Declaration
      3. Variable Scope
      4. Primitive Types and Reference Types
      5. Garbage Collection
      6. Variables as Properties
      7. Variable Scope Revisited
    4. Chapter 5 Expressions and Operators

      1. Expressions
      2. Operator Overview
      3. Arithmetic Operators
      4. Equality Operators
      5. Relational Operators
      6. String Operators
      7. Logical Operators
      8. Bitwise Operators
      9. Assignment Operators
      10. Miscellaneous Operators
    5. Chapter 6 Statements

      1. Expression Statements
      2. Compound Statements
      3. if
      4. else if
      5. switch
      6. while
      7. do/while
      8. for
      9. for/in
      10. Labels
      11. break
      12. continue
      13. var
      14. function
      15. return
      16. throw
      17. try/catch/finally
      18. with
      19. The Empty Statement
      20. Summary of JavaScript Statements
    6. Chapter 7 Objects and Arrays

      1. Creating Objects
      2. Object Properties
      3. Objects as Associative Arrays
      4. Universal Object Properties and Methods
      5. Arrays
      6. Reading and Writing Array Elements
      7. Array Methods
      8. Array-Like Objects
    7. Chapter 8 Functions

      1. Defining and Invoking Functions
      2. Function Arguments
      3. Functions as Data
      4. Functions as Methods
      5. Constructor Functions
      6. Function Properties and Methods
      7. Utility Function Examples
      8. Function Scope and Closures
      9. The Function() Constructor
    8. Chapter 9 Classes, Constructors, and Prototypes

      1. Constructors
      2. Prototypes and Inheritance
      3. Simulating Classes in JavaScript
      4. Common Object Methods
      5. Superclasses and Subclasses
      6. Extending Without Inheriting
      7. Determining Object Type
      8. Example: A defineClass( ) Utility Method
    9. Chapter 10 Modules and Namespaces

      1. Creating Modules and Namespaces
      2. Importing Symbols from Namespaces
      3. Module Utilities
    10. Chapter 11 Pattern Matching with Regular Expressions

      1. Defining Regular Expressions
      2. String Methods for Pattern Matching
      3. The RegExp Object
    11. Chapter 12 Scripting Java

      1. Embedding JavaScript
      2. Scripting Java
  3. Client-Side JavaScript

    1. Chapter 13 JavaScript in Web Browsers

      1. The Web Browser Environment
      2. Embedding Scripts in HTML
      3. Event Handlers in HTML
      4. JavaScript in URLs
      5. Execution of JavaScript Programs
      6. Client-Side Compatibility
      7. Accessibility
      8. JavaScript Security
      9. Other Web-Related JavaScript Embeddings
    2. Chapter 14 Scripting Browser Windows

      1. Timers
      2. Browser Location and History
      3. Obtaining Window, Screen, and Browser Information
      4. Opening and Manipulating Windows
      5. Simple Dialog Boxes
      6. Scripting the Status Line
      7. Error Handling
      8. Multiple Windows and Frames
      9. Example: A Navigation Bar in a Frame
    3. Chapter 15 Scripting Documents

      1. Dynamic Document Content
      2. Document Properties
      3. Legacy DOM: Document Object Collections
      4. Overview of the W3C DOM
      5. Traversing a Document
      6. Finding Elements in a Document
      7. Modifying a Document
      8. Adding Content to a Document
      9. Example: A Dynamically Created Table of Contents
      10. Querying Selected Text
      11. The IE 4 DOM
    4. Chapter 16 Cascading Style Sheets and Dynamic HTML

      1. Overview of CSS
      2. CSS for DHTML
      3. Scripting Inline Styles
      4. Scripting Computed Styles
      5. Scripting CSS Classes
      6. Scripting Stylesheets
    5. Chapter 17 Events and Event Handling

      1. Basic Event Handling
      2. Advanced Event Handling with DOM Level 2
      3. The Internet Explorer Event Model
      4. Mouse Events
      5. Key Events
      6. The onload Event
      7. Synthetic Events
    6. Chapter 18 Forms and Form Elements

      1. The Form Object
      2. Defining Form Elements
      3. Scripting Form Elements
      4. Form Verification Example
    7. Chapter 19 Cookies and Client-Side Persistence

      1. An Overview of Cookies
      2. Storing Cookies
      3. Reading Cookies
      4. Cookie Example
      5. Cookie Alternatives
      6. Persistent Data and Security
    8. Chapter 20 Scripting HTTP

      1. Using XMLHttpRequest
      2. XMLHttpRequest Examples and Utilities
      3. Ajax and Dynamic Scripting
      4. Scripting HTTP with <script> Tags
    9. Chapter 21 JavaScript and XML

      1. Obtaining XML Documents
      2. Manipulating XML with the DOM API
      3. Transforming XML with XSLT
      4. Querying XML with XPath
      5. Serializing XML
      6. Expanding HTML Templates with XML Data
      7. XML and Web Services
      8. E4X: ECMAScript for XML
    10. Chapter 22 Scripted Client-Side Graphics

      1. Scripting Images
      2. Graphics with CSS
      3. SVG: Scalable Vector Graphics
      4. VML: Vector Markup Language
      5. Graphics in a <canvas>
      6. Graphics with Flash
      7. Graphics with Java
    11. Chapter 23 Scripting Java Applets and Flash Movies

      1. Scripting Applets
      2. Scripting the Java Plug-in
      3. Scripting with Java
      4. Scripting Flash
      5. Scripting Flash 8
  4. Core JavaScript Reference

    1. Chapter 24 Core JavaScript Reference

  5. Client-Side JavaScript Reference

    1. Chapter 25 Client-Side JavaScript Reference

  1. Colophon