By David Flanagan
June 1998
Pages: 784
ISBN 10: 1-56592-392-8 |
ISBN 13: 9781565923928
![]()
![]()
![]()
![]()
(Average of 10 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
This third edition of the definitive reference to JavaScript covers the latest version of the language, JavaScript 1.2, as supported by Netscape Navigator 4 and Internet Explorer 4. JavaScript, which is being standardized under the name ECMAScript, is a scripting language that can be embedded directly in HTML to give Web pages programming-language capabilities.
Full Description
Register your book | Submit Errata | Examples
Browse within this book
Cover | Table of Contents | Index | Sample Chapter | Colophon
Book details
Third Edition: June 1998
ISBN: 1-56592-392-8
Pages: 784
Average Customer Reviews: ![]()
![]()
![]()
![]()
(Based on 10 Reviews)
Featured customer reviews
JavaScript: The Definitive Guide, 3rd Edition Review, July 07 2001
As a ten-year experienced programmer, I 'd like to say this book is a must have one and definitely deserve my highly recommendation. However, I may say that it is high welcomed if ALL online examples have a executable version. Sometimes I may think it wastes my time to plug the examples in my frame to see the result of execution.
However, a excellent one, a must have one, a example of technique book. Thank you David and our editors.
JavaScript: The Definitive Guide, 3rd Edition Review, June 23 2001
This book contains a lot of information about JavaScript. It is very good book, it useful for, who already have some programming background and wants to know the javascript functionality clearly. In this book the eg. given for opening a new browser window and writing some contents into the window from an applet, is not working properly. In IE it is giving class cast exception. The object returned from method "main_win.eval("self.open(''...........) " is a String object, it is not JSObject. In Netscape it is JSObject only, but it's not writing the data into the newly opened window. If anybody got solution for this please let me know, my email id: khan_shree@yahoo.com.
Thank You.
JavaScript: The Definitive Guide, 3rd Edition Review, March 28 2001
An excellent book!
I have been doing JavaScript programming for a few years and learned most of it off the Internet, from Netscape's DevEdge. However, I recently needed some advanced features and there was just no easy way to dig them up from the web. Then I got this book. It is well organized, comprehensive, thorough and it has all the details, tricks, and pitfalls of the language one may need to know in order to write a JavaScript program. Also, the care with which all the features of the language are documented for both IE and Netscape, as well as for the various browser/language versions is truly outstanding. I strongly recommend it as a reference. However, make no error, it is certainly not a beginner's book.
I sometimes wonder how does O'Reilly manage to keep up such a high standard in computer book publishing. They have all my appreciation.
JavaScript: The Definitive Guide, 3rd Edition Review, February 18 2001
My thanks to Mr. Flanagan for a job very well done. This reference has been most helpful as I have started using JS in my internet and intranet pages. Experience with C, PERL, and other languages helps, especially when the author compares JS behavior with these other languages. I also appreciate the repeated notes regarding the differences between JS versions and the different levels of support by NS and IE - very helpful to ensure the resulting pages will work correctly for the maximum number of visitors. It appears the book is written for the reader with a good foundation in programming and HTML - perfect.
The quality of the book and its included JS reference is excellent - on a par with Larry Wall's Perl Reference or M. Strebe's Win NT reference.
View the results at My company site<g>
JavaScript: The Definitive Guide, 3rd Edition Review, January 11 2001
This book is deceitful: it looks too big to be useful. Yet there
is no other source of information that so concisely addresses
JavaScript language. The comparisons the author frequently
makes to C/C++/Java/Perl are most welcome. After reading this book
I wrote a non-trivial javascript web application that I could not
have imagined writing prior to reading this book.
This book is a unique resource just as JavaScript is a unique
language from the usual mix of C/C++/VB/Java/Perl. This book
describes a language to control both IE and Netscape in ways
that nothing else can.
I highly recommend it.
-------------
Mike
JavaScript: The Definitive Guide, 3rd Edition Review, December 30 2000
A MUST HAVE
The title of the book says all ! This is the defenitive one-and-only book to have if you are serious about JavaScript. If you're not, then you should still have it.
It is precise, plainly written, and extremely accurate.
Macromedia use it as their reference for DreamWeaver and UltraDev references.
I have never encountered a problem that wasn't explained or solutioned in this book.
JavaScript: The Definitive Guide, 3rd Edition Review, December 29 2000
If you ever want to be a serious JavaScript programmer this is the book that you must read. It has a wealth of information both for the core language and also for the client-side part of the language. It has a lot of examples which are the building blocks for truly understanding a subject. The part that I love most is that the writer compares JavaScript with other languages so when you are through with the book you also have an idea of how Java and C++ work.
The only down side of this book is that it has no excersises (which I think are necessary for truly mastering a language) so if anybody knows where I can find some good exercises please e-mail me at perry_sakkaris@hotmail.com.
JavaScript: The Definitive Guide, 3rd Edition Review, September 21 2000
Excellent book! We all use it at the office, and I use it at home to teach my son javascript.
It's well-written, useful, and Flanagan's knowledge is awesome. It's one of the few technical books I've seen that has well-written code.
One microscopic criticism: I needed an example of javascript assigning an onSubmit handler, and couldn't find the format of the handler.
A must-buy!
JavaScript: The Definitive Guide, 3rd Edition Review, September 21 2000
This book cuts right through the hype surrounding most JavaScript texts and gives you the essential tools to put your own creativity to work. I strongly recommend it.
JavaScript: The Definitive Guide, 3rd Edition Review, September 04 2000
The first half of the book is very readable and well sprinkled with examples. If I had a complaint about the book it would be that the author presumes the reader knows a fair amount about sophisticated javascript techniques in his examples. However, in working through the examples, I have learned quite a bit.
The second half of the book is an excellent reference manual that I find myself consulting when ever I need in depth knowledge of options.
I am a lower level journeyman writer of Javascript, but would recommend this book to beginners, journeymen, and experts.
JavaScript: The Definitive Guide, 3rd Edition Review, March 02 2000
Submitted by Tracey Uhler [Respond | View]
Being that I am not a programmer, but have become hooked on JavaScript, I was looking for a good book on the subject that was not over my head. This one fits the bill. It clearly explains the language so that anyone can understand.
My only problem has been with the example of a loan payment calculator (figure 1-3) on page 16. I went ahead and typed it up so that I could play with it and hopefully learn by example. I adapted it and came up with a mortgage calculator that works great in explorer but returns an infinity value in Navigator. I have looked at the code until my eyes cross and just can't figure out why it works on one platform and not the other. (It probably doesn't help that I failed high school math.) There is an example of my calculator at http://www.geocities.com/padme67/uhlercalc.html
I have several of the O'Reilly books now and have yet to be dissapointed!
Thanks
JavaScript: The Definitive Guide, 3rd Edition Review, July 19 1999
Submitted by Janne Hyötylä [Respond | View]
This book is FANTASTIC! I had only a little programming exprerience with Visual Basic. But I never had problems to understand things that David explained in the book. And the Reference Section has to be on every JavaScript serious programmer's table!
JavaScript: The Definitive Guide, 3rd Edition Review, June 27 1999
Submitted by Dave Demko [Respond | View]
JavaScript: The Definitive Guide is outstanding. If you have some programming background (even a little) and you want to understand how JavaScript works and what it can do, this is the book of choice. Unlike so many "steal this code" type JavaScript guides, this book combines clear explanations of the basics, notes on JavaScript versions and browser compatibility, and a superb reference section.
JavaScript: The Definitive Guide, 3rd Edition Review, June 12 1999
Submitted by Adam Dingle [Respond | View]
JavaScript: The Definitive Guide is just fantastic. It is the only JavaScript book I've seen which clearly separates the definition of the language itself (covered in Part I) from the classes used to embed JavaScript in Web browsers (covered in Part II). It also covers many subtle points of JavaScript programming very clearly, including prototypes, the scope chain, nested functions and garbage collection. Furthermore, the book points out a number of bugs in existing browser implementations and has an excellent reference section. I can't recommend this book highly enough for anyone who already has a fair amount of experience programming in other languages and wants to learn JavaScript.
If you are learning JavaScript as your first programming language, however, this is probably not the best book for you, since the writing style is probably too technical for beginning programmers and the book pays a lot of attention to subtle details which may be overwhelming to those without programming experience.
JavaScript: The Definitive Guide, 3rd Edition Review, May 19 1999
Submitted by Mark Bosley [Respond | View]
If you are a serious VISUAL BASIC programmer and you want to make the jump to client-side web programming, you need to study this book.
Just in the area of functions alone, you will never understand how functions in JavaScript differ from functions in VB (e.g functions as a first-class data type, function literals, etc.) by just reading tutorials or looking at code here and there.
You won't understand these things, unless you have David Flanagan explain it to you.
JavaScript: The Definitive Guide, 3rd Edition Review, March 10 1999
Submitted by O. Toivola (Finland) [Respond | View]
I have read half of the 3rd edition now and I think
it's excellent! Earlier I read some of my programming
books in Finnish and they left a lot of holes in my mind. ;)
After this I will never do it again! That's for sure! Thanks, David!
JavaScript: The Definitive Guide, 3rd Edition Review, February 17 1998
Submitted by Tracey Uhler [Respond | View]
I just wanted to commend the O'Reilly company and David Flanagan. After writing the comment below about a problem I was having with a script, some of the O'Reilly staff notified David Flanagan who then emailed me with the solution to my problem. I was absoutely thrilled and surprised. If you haven't bought this book yet, what are you waiting for!
Thank you again to David :)
Media reviews
"an excellent programmer's guide and reference manual ." --fatbrain.com
"Interested in learning JavaScript? This book teaches it in a clear and concise manner." --Wendy Willard, A Web-Design Teacher's Recommended Reading List, May 2001
Javascript: The Definitive Guide Top Computer Books for 2000 --amazon.com
JavaScript: TDG Amazon "Customer Favorites" of 2000
"Flanagan has collected, and presents, a good deal of solid information about JavaScript. Flanagan presents all kinds of information about the oddities of the language, weird behaviours that arise from interpretations of variables and operators. The book reveals the internals of the language (or languages, given the number of variants), which are bewildering in their complexity." --Robert M. Slade, Internet Review Project, May 2000
"In typical O'Reilly & Associates fashion, JavaScript: The Definitive Guide documents every nuance of the JavaScript 1.1 language specification. This is the book you'll pull off your shelf when you want to know which method returns the primitive value of an object." -- Stephen W. Plain and Brooke Gilbert, Amazon.com Computer Editors, March 2000
"a must-have for serious JavaScript programmers." --Writers Write: the Internet Writing Journal, March 2000
"This book stands out in the field of JavaScript books for its disciplined, thorough approach to the JavaScript language. While it would most likely disappoint a non-programmer who simply wants to dabble in JavaScript, for those who want to go beyond copying code to create their own applications, it's hard to beat O'Reilly & Associates' JavaScript:The Definitive Guide." --Kief Morris, Web Developers Journal, January 10, 1999
"I'd been trying for days to solve a tricky problem involving interactions between a CGI script in Perl and JavaScript. I had consulted three books and every knowledgeable friend I could corner. Finally, this afternoon I found a copy of JavaScript: The Definitive Guide, and in somewhat over an hour, I had it figured out. Your book didn't give me the explicit solution, but it illustrated a type of interaction that was just what I was trying to do. I could use my understanding of the book's example to solve my problem. So here's an unsolicited testimonial, just because I am so pleased with myself, and so pleased with your book, which I shall purchase for my own at my next opportunity." -Leigh Williams, Computer Science Dept., Univ. of Oregon
"For JavaScript/website programmers, this book is a must-have." --Doug Reed, CompuNotes
"JavaScript: The Definitive Guide is a rapid and thorough exposition of the JavaScript programming language, as well as an in-depth reference covering each JavaScript function, object, method, and handler. Experienced programmers will quickly find the information they need to start writing JavaScript programs." --Stephen Plain and Teri Kieffer, Amazon.com Delivers Web Development, August 31, 2000
For the 2nd Edition:
"A must-have reference for expert JavaScript programmers.... Well-organized and detailed." --Brendan Eich, Creator of JavaScript
"The best JavaScript book I've seen.... Thoroughly researched and well written." --Shon Katzenberger, Ph.D., Author of Microsoft's JScript interpreter "A superb programmer's guide and reference to JavaScript. A much improved update to the 'beta' edition, this well-organized book could be used as a college textbook, and should be on the desk of every JavaScript programmer. The reference section alone makes this book worth the price. Covers JavaScript 1.0-1.2, with common bugs, workarounds, compatibility techniques, and a sneak preview of Netscape 4.0." --Andy King, Webmaster, webreference.com
About the 2nd Edition:
"JavaScript: The Definitive Guide deals with one of the most fashionable and fast-growing subjects in modern programming - JavaScript language. And although it is developing at the speed of a rocket, the book covers the latest state of the various language versions. The first part of the book is an excellent JavaScript manual and the second - is a detailed reference source on JavaScript functions, objects and its methods and event handlers. The book is very useful for programmers and web authors of all levels of experience. For beginners it is the best manual on JavaScript
"Even if you do not know any programming language you can use this book to make efficient dynamic web pages. What experienced programmers will find here is a comprehensive reference with information specific to various versions of JavaScript and brief examples. Advanced topics chapters contain important material to help you become a JavaScript expert. Throughout the book you can find excellently commented expressive examples that are not so long as to become tiresome.
"This edition covers JavaScript versions realized in Netscape Navigator 2.0 and 3.0 and Microsoft Internet Explorer 3.0 and has special chapters describing a compatibility of various versions and an appendix introducing you to the next JavaScript version 1.2 in Navigator 4.0. One of advantages of the book is that it explains how you can control Java applets from JavaScript and vice versa - invoke JavaScript code from Java applets.
"A special chapter provides an overview of security issues in JavaScript. The author explains the steps you have to take to plug security holes in Navigator 2.0 and the new security model in Navigator 4.0. The appendices contain a list of encountered bugs, differences between JavaScript versions, HTTP Cookies specification and other helpful information. I think this book will be highly valued by all web programmers."
--The COOK Report on Internet, July-August 1997 (http://cookreport.com/)

