Jump to ratings and reviews
Rate this book

JavaScript Bible

Rate this book
Aimed at the HTML designer with or without previous programming experience, the JavaScript Bible, Fourth Edition, brings a popular text up to date with a full tour of using JavaScript with all of today's Web browsers. Smart, very approachable, and filled with many useful tips, this book can put JavaScript development into the reach of just about anyone.

After presenting a solid tour of basic programming in JavaScript, the book centers in on the issues of developing JavaScript applications for real browsers. This means truly comprehensive coverage of the document object model (DOM), HTML, window and frame objects, forms, and style sheets that are available today. In about 1,000 pages (and almost 30 chapters), you learn what's available in today's JavaScript standard with a reference listing every object, API, and property, plus tips on how to use each feature. All this material makes this text an extremely worthwhile desktop reference for everyday JavaScript development. In particular, we liked that support (or lack thereof) for every feature is clearly documented across the full range of today's browsers from Netscape Navigator 2, 3, 4, 5, and 6 to Internet Explorer 3 through 5.5.

Later chapters move toward the JavaScript language itself, with material on strings, math functions, and dates. The author discusses techniques for adapting JavaScript to particular browsers as well as providing cross-browser support where appropriate. Short exercises end each chapter, and the book presents sample solutions in an appendix. Additional CD-ROM chapters move beyond the whopping 1,200 pages of printed material.

In all, the author's patient, clear writing style and real-world advice for creating great-looking Web pages with JavaScript make this title a winner. Readers of previous editions of the JavaScript Bible will appreciate the updated focus on current browsers. For anyone who wants to learn JavaScript for the first time, this edition is arguably an unbeatable choice. --Richard Dragan

Topics covered:

Introduction to JavaScript and HTML Targeting different browsers (with DHTML, style sheets, and other features) Basic JavaScript language tutorial (including variables, operators, expressions, flow control, forms, and built-in APIs) Script tags Error handling Arrays Window and document objects Form processing with JavaScript Tutorial and reference for the String, Math, and Date classes Frames Images (including rollover support) Comprehensive JavaScript reference ECMAScript Detecting different browsers Document object model (DOM) for Netscape 2 through 6 and IE 3 through 5 Generic HTML objects Window and frame objects Location and history objects Document and body objects Body text objects HTML directives Link and anchor objects Image and map objects Form and form control objects Working with buttons and text in HTML forms Select and option elements Table and list objects Netscape Navigator and environment objects Event objects Style sheet reference Positioned objects JavaScript operators Functions and custom objects Sample programming exercises and answers

1248 pages, Paperback

First published January 1, 1996

12 people are currently reading
135 people want to read

About the author

Danny Goodman

79 books11 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
47 (28%)
4 stars
52 (31%)
3 stars
46 (27%)
2 stars
19 (11%)
1 star
3 (1%)
Displaying 1 - 5 of 5 reviews
12 reviews5 followers
Read
August 8, 2011
This sixth edition of JavaScript Bible represents author's knowledge and experience accumulated over ten years of daily work in JavaScript and a constant monitoring of newsgroups for questions, problems, and challenges facing scripters at all levels. The author's goal is to help us avoid the same frustration and head scratching he and others have experienced through multiple generations of scriptable browsers.



Although the earliest editions of this book focused on the then predominant Netscape Navigator browser, the browser market share landscape has changed through the years. For many years, Microsoft took a strong lead with its Internet Explorer, but more recently, other browsers that support industry standards are finding homes on users’ computers. The situation still leaves an age-old dilemma for content developers: designing scripted content that functions equally well in both standards-compliant and proprietary environments. The job of a book claiming to be a bible is not only to present both the standard and proprietary details when they diverge, but also to show us how to write scripts that blend the two so that they work on the wide array of browsers visiting your sites or web applications. Empowering us to design and write good scripts is the author passion, regardless of browser. The author bias is toward industry standards, but not to the exclusion of proprietary features that may be necessary to get your content and scripting ideas flowing equally well on today’s and tomorrow’s browsers. It will be more complicated by new variant of browser like Google Chrome and Mobile Browser ...

Profile Image for Matt Hartzell.
385 reviews12 followers
February 9, 2011
I read about half of this book. The remaining half was exclusively reference material. It was another good overview of JavaScript, although in my opinion this book spent WAY too much time discussing issues with outdated browsers...even back to Netscape 1. I guess there's something to be said for writing code that is supported by many browsers, but if you intend to only support particular browsers and versions, those portions of the book can be skipped over.

The JavaScript Bible repeats itself a lot, as earlier chapters ease you into complicated concepts and topics that are more thoroughly covered in later chapters. You could spend a lot of time pouring over the book and learning much about JavaScript and how web browsers work in general. Between this and DOM scripting book I read, I feel knowledgeable enough to start messing around with the language.

It is worth noting that some of what's discussed here is easily ignored is you're using something like jQuery.
5 reviews1 follower
April 5, 2015
Personally i like these book becouse is one of the most complete javascript reference.
The wey some concepts are explained are a bit dull or complicated to grasp. In my opinion the author has a hard time jumping from the simple concepts to the more advance parts of javascript.

Anyway, still my favourite source for Javascript reference excluding MDN
226 reviews2 followers
Read
May 11, 2010
Creating Web Pages for Dummies
Profile Image for Yujian.
5 reviews1 follower
August 4, 2011
A good book for JavaScript newbies, but it's unnecessarily long.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.