An edition of JavaScript: The Definitive Guide (1996)

JavaScript

The Definitive Guide

4th Edition
  • 4.3 (12 ratings)
  • 231 Want to read
  • 15 Currently reading
  • 19 Have read
Locate

My Reading Lists:

Create a new list


  • 4.3 (12 ratings)
  • 231 Want to read
  • 15 Currently reading
  • 19 Have read

Buy this book

Last edited by ImportBot
December 19, 2023 | History
An edition of JavaScript: The Definitive Guide (1996)

JavaScript

The Definitive Guide

4th Edition
  • 4.3 (12 ratings)
  • 231 Want to read
  • 15 Currently reading
  • 19 Have read

JavaScript is a powerful, object-based scripting language; JavaScript programs can be embedded directly into HTML web pages. When combined with the Document Object Model (DOM) defined by a web browser, JavaScript allows you to create Dynamic HTML (DHTML) content and interactive client-side web applications. JavaScript syntax is based on the popular programming languages C, C++, and Java, which makes it familiar and easy to learn for experienced programmers. At the same time, JavaScript is an interpreted scripting language, providing a flexible, forgiving environment in which new programmers can learn.

JavaScript: The Definitive Guide provides a thorough description of the core JavaScript language and both the legacy and standard DOMs implemented in web browsers. The book includes sophisticated examples that show you how to handle common tasks such as validating form data, working with cookies, and creating portable DHTML animations. The book also contains detailed reference sections that cover the core JavaScript API, the legacy client-side API, and the W3C standard DOM API, documenting every JavaScript object, method, property, constructor, constant, function, and event handler in those APIs.

This fourth edition of the bestselling JavaScript book has been carefully updated to cover JavaScript 1.5 (ECMAScript Version 3). The book also provides complete coverage of the W3C DOM standard (Level 1 and Level 2), while retaining material on the legacy Level 0 DOM for backward compatibility.

JavaScript: The Definitive Guide is a complete programmer's guide and reference manual for JavaScript. It is particularly useful for developers working with the latest standards-compliant web browsers, such as Internet Explorer 6, Netscape 6, and Mozilla. HTML authors can learn how to use JavaScript to build dynamic web pages. Experienced programmers can quickly find the information they need to start writing sophisticated JavaScript programs. This book is an indispensable reference for all JavaScript programmers, regardless of experience level.



Description from the Fourth Edition (2007, O'Reilly Media)

Printing History

August 1996
Beta Edition.
January 1997
Second Edition.
June 1998
Third Edition.
January 2002
Fourth Edition.
Publish Date
Publisher
O’Reilly, O'Reilly
Language
English
Pages
916

Buy this book

Previews available in: English

Edition Availability
Cover of: JavaScript
JavaScript: The Definitive Guide
2011, O’Reilly
in English - 6th Edition, Covers ECMAScript 5 & HTML5
Cover of: JavaScript
JavaScript: The Definitive Guide
2002, O’Reilly, O'Reilly
Paperback in English - 4th Edition
Cover of: JavaScript
JavaScript: The Definitive Guide
December 15, 2001, O’Reilly Media, Inc.
in English - 4th Edition, Covers JavaScript 1.5
Cover of: JavaScript
JavaScript: The Definitive Guide
1998, O’Reilly
in English - 3rd Edition, Covers JavaScript 1.2
Cover of: JavaScript
JavaScript: The Definitive Guide
1997, O’Reilly & Associates
in English - 2nd Edition, Revised and Updated
Cover of: JavaScript
JavaScript: The Definitive Guide
1997, O’Reilly
in English - 2nd Edition

Add another edition?

Book Details


Table of Contents

Preface. xiii
1. Introduction to JavaScript. 1
JavaScript Myths. 2
Versions of JavaScript. 2
Client-Side JavaScript. 2
JavaScript in Other Contexts. 3
Client-Side JavaScript: Executable Content in Web Pages. 6
Client-Side JavaScript Features. 8
JavaScript Security. 12
Example: Computing Loan Payments with JavaScript. 12
Using the Rest of This Book. 16
Exploring JavaScript. 18
Part I. Core JavaScript
2. Lexical Structure. 23
Character Set. 23
Case Sensitivity. 24
Whitespace and Line Breaks. 24
Optional Semicolons. 24
Comments. 25
Literals. 26
Identifiers. 26
Reserved Words. 27
3. Data Types and Values. 29
Numbers. 30
Strings. 33
Boolean Values. 36
Functions. 37
Objects. 39
Arrays. 40
null. 42
undefined. 42
The Date Object. 43
Regular Expressions. 43
Error Objects. 44
Primitive Data Type Wrapper Object. 44
4. Variables. 46
Variable Typing. 46
Variable Declaration. 47
Variable Scope. 48
Primitive Types and Reference Types. 50
Garbage Collection. 52
Variables as Properties. 53
Variable Scope Revisited. 54
5. Expressions and Operations. 56
Expressions. 56
Operator Overview. 57
Arithmetic Operators. 60
Equality Operators. 62
Relational Operators. 65
String Operators. 67
Logical Operators. 68
Bitwise Operators. 70
Assignment Operators. 72
Miscellaneous Operators. 73
6. Statements. 79
Expression Statements. 79
Compound Statements. 80
if. 81
else if. 82
switch. 83
while. 86
do/while. 87
for. 87
for/in. 89
Labels. 90
break. 90
continue. 92
var. 93
function. 93
return. 95
throw. 95
try/catch/finally. 96
with. 98
Th Empty Statement. 99
Summary of JavaScript Statements. 100
7. Functions. 102
Defining and Invoking Functions. 102
Functions as Data. 106
Function Scope: The Call Object. 108
Function Arguments: The Arguments Object. 109
Function Properties and Methods. 111
8. Objects. 114
Objects and Properties. 114
Constructors. 116
Methods. 117
Prototypes and Inheritance. 120
Object-Oriented JavaScript. 123
Objects as Associative Arrays. 130
Object Properties and Methods. 132
9. Arrays. 138
Arrays and Array Elements. 138
Array Methods. 142
10. Pattern Matching with Regular Expressions. 147
Defining Regular Expressions. 147
String Methods for Pattern Matching. 156
The RegExp Object. 158
11. Further Topics in JavaScript. 161
Data Type Conversion. 161
By Value Versus by Reference. 166
Garbage Collection. 171
Lexical Scoping and Nested Functions. 173
The Function() Constructor and Function Literals. 175
Netscape's JavaScript 1.2 Incompatibilities. 175
Part II. Client-Side JavaScript
12. JavaScript in Web Browsers. 181
The Web Browser Environment. 181
Embedding JavaScript in HTML. 185
Execution of JavaScript Programs. 193
13. Windows and Frames. 199
Window Overview. 199
Simple Dialog Boxes. 201
The Status Line. 203
Timeouts and Intervals. 204
Error Handling. 206
The Navigator Object. 207
The Screen Object. 209
Window Control Methods. 209
The Location Object. 213
The History Object. 215
Multiple Windows and Frames. 218
14. The Document Object. 225
Document Overview. 225
Dynamically Generated Documents. 230
Document Color Properties. 235
Document Informational Properties. 235
Forms. 236
Images. 236
Links. 243
Anchors. 245
Apples. 247
Embedded Data. 248
15. Forms and Form Elements. 249
The Form Object. 250
Defining Form Elements. 251
Scripting Form Elements. 255
Form Verification Example. 263
16. Scripting Cookies. 266
An Overview of Cookies. 266
Storing Cookies. 268
Reading Cookies. 269
Cookie Example. 270
17. The Document Object Model. 274
An Overview of the DOM. 274
Using the Core DOM API. 285
DOM Compatibility with Internet Explorer 4. 303
DOM Compatibility with Netscape 4. 305
Convenience Methods: The Traversal and Range APIs. 306
18. Cascading Style Sheets and Dynamic HTML. 314
Styles and Style Sheets with CSS. 315
Element Positioning with CSS. 322
Scripting Styles. 332
DHTML in Fourth-Generation Browsers. 341
Other DOM APIs for Stles and Style Sheets. 345
19. Events and Event Handling. 351
Basic Event Handling. 352
Advanced Event Handling with DOM Level 2. 361
The Internet Explorer Event Model. 376
The Netscape 4 Event Model. 382
20. Compatibility Techniques. 387
Platform and Browser Compatibility. 387
Language Version Compatibility. 392
Compatibility with Non-JavaScript Browsers. 396
21. JavaScript Security. 399
JavaScript and Security. 399
Restricted Features. 400
The Same-Origin Policy. 402
Security Zones and Signed Scripts. 403
22. Using Java with JavaScript. 405
Scripting Java Applets. 405
Using JavaScript from Java. 407
Using Java Classes Directly. 411
LiveConnect Data Types. 413
LiveConnect Data Conversion. 418
JavaScript Conversion of JavaObjects. 421
Java-to-JavaScript Data Conversion. 423
Part III. Core JavaScript Reference
Core JavaScript Reference. 427
Part IV. Client-Side JavaScript Reference
Client-Side JavaScript Reference. 541
Part V. W3C DOM Reference
W3C DOM Reference. 685
Part VI. Class, Property, Method, and Event Handler Index
Class, Property, Method, and Event Handler Index. 857
Index. 871

Edition Notes

Includes index.

Published in
Sebastopol, CA

Classifications

Dewey Decimal Class
005.2/762
Library of Congress
QA76.73.J39 F53 1998, QA76.73.J39 F53 2002

Contributors

Editor
Paula Ferguson
Production Editor
Rachel Wheeler
Cover Design
Edie Freedman
Interior Design
David Futato

The Physical Object

Format
Paperback
Pagination
xvii, 916 p. :
Number of pages
916

Edition Identifiers

Open Library
OL3582777M
ISBN 10
0596000480
LCCN
2002279900
OCLC/WorldCat
772683457, 48539421
LibraryThing
12323
Goodreads
1617424

Work Identifiers

Work ID
OL1643770W

Links outside Open Library

Community Reviews (0)

No community reviews have been submitted for this work.

Lists

History

Download catalog record: RDF / JSON / OPDS | Wikipedia citation
December 19, 2023 Edited by ImportBot import existing book
November 28, 2023 Edited by MARC Bot import existing book
March 7, 2023 Edited by MARC Bot import existing book
January 26, 2022 Edited by ImportBot import existing book
April 1, 2008 Created by an anonymous user Imported from Scriblio MARC record