Automotive Holiday Deals Up to 50% Off Select Books Shop Men's Athletic Shoes Learn more nav_sap_SWP_6M_fly_beacon Black Friday egg_2015 All-New Amazon Fire TV Get Ready for the Winter Gifts Under $50 Amazon Gift Card Offer bf15 bf15 bf15 $30 Off Amazon Echo Starting at $49.99 Kindle Black Friday Deals BestoftheYear Shop Now DOTD
JavaScript & DHTML Cookbook and over one million other books are available for Amazon Kindle. Learn more

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

JavaScript & DHTML Cookbook (2nd edition) 2nd Edition

35 customer reviews
ISBN-13: 978-0596514082
ISBN-10: 0596514085
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$7.98 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$32.48 On clicking this link, a new layer will be open
More Buying Choices
24 New from $27.06 42 Used from $0.29 1 Collectible from $14.00
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

$32.48 FREE Shipping on orders over $35. In stock but may require an extra 1-2 days to process. Ships from and sold by Gift-wrap available.

Special Offers and Product Promotions

  • Take an Extra 30% Off Any Book: Use promo code HOLIDAY30 at checkout to get an extra 30% off any book for a limited time. Excludes Kindle eBooks and Audible Audiobooks. Restrictions apply. Learn more

Editorial Reviews


"...does for web scripting and dynamic HTML what the best cookbooks do for food...The best cookbooks distil the wisdom of an experienced and skilled master - and this is precisely what Danny Goodman does here. " TechBook Report --This text refers to an out of print or unavailable edition of this title.

About the Author

Danny Goodman has been writing about personal computers and consumer electronics since the late 1970s. In 2006, he celebrated 25 years as a freelance writer and programmer, having published hundreds of magazine articles, several commercial software products, and three dozen computer books. Through the years, his most popular book titles - on HyperCard, AppleScript, JavaScript, and Dynamic HTML - have covered programming environments that are both accessible to non-professionals, yet powerful enough to engage experts. His Dynamic HTML: The Definitive Reference, now in its third edition, is an O'Reilly bestseller.To keep up to date on the needs of web developers for his recent books, Danny is also a programming consultant to some of the industry's top intranet development groups and corporations. His expertise in implementing sensible cross-browser client-side scripting solutions is in high demand and allows him to, in his words, "get code under my fingernails while solving real-world problems."

Danny was born in Chicago, Illinois during the Truman Administration. He earned a B.A. and M.A. in Classical Antiquity from the University of Wisconsin, Madison. He moved to California in 1983 and lives in a small San Francisco area coastal community, where he alternates views between computer screens and the Pacific Ocean.


Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Paperback: 606 pages
  • Publisher: O'Reilly Media; 2nd edition (August 18, 2007)
  • Language: English
  • ISBN-10: 0596514085
  • ISBN-13: 978-0596514082
  • Product Dimensions: 7 x 1.1 x 9.2 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (35 customer reviews)
  • Amazon Best Sellers Rank: #1,171,726 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews

53 of 57 people found the following review helpful By neihtn on May 15, 2003
Format: Paperback
Danny Goodman is the author of "JavaScript Bible", probably the most popular book on JavaScript as it went through 5 editions, the last one being the Gold edition published in 2001. I have used JavaScript Bible extensively and intensively, often longing for a cross-index of recipes for solving problems. This new book by the author addresses that need in the form of a cookbook, one carefully written and eminently readable. Not only does he give clear recipes, he also discusses some history and background, lists which browser version is required, both for Netscape and Internet Explorer, then weighs the pros and cons of different approaches.
The recipes range from the mundane, like opening a window, to the more esoteric for positioning page elements or creating dynamic contents. Even if one does not plan to use a recipe, it is still enlightening to see how JavaScript or some feature of it is brought to bear on solving a particular problem. Most cookbooks assume you already know the subject quite well, then launch on intricate discussions often discouraging to neophytes. Here, the way Danny Goodman writes, the clarity of his style, and the completeness of his coverage, make this book well suited to every reader level. If your JavaScript knowledge is only nascent, you will be enlightened with this book. If you are a JavaScript "expert", be surprised that you will still learn many new techniques.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
26 of 26 people found the following review helpful By Eric & Lisa on March 29, 2005
Format: Paperback
I am an ASP.NET developer, and I have never been too crazy about JavaScript. It is much too slow to develop, it is finicky to debug, and maintenance is just ridiculous.

That is exactly why I love this book. It shows me exactly what I need to know to add some VERY sophisticated client-side pizzazz to my applications. Unlike most programming books, you don't have to read half the book to understand the advanced concepts. Each "recipe" has a more-than-adequate supporting explanation.

For the past FOUR YEARS, I have consulted this book above all other JavaScript references. And now with ASP.NET AJAX released, it is more helpful than ever...easily giving you the edge over other .NET developers that live in a "code-behind-only" world. It is well worth the price.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
26 of 27 people found the following review helpful By Jase T. Wolfe on November 17, 2005
Format: Paperback
In the computer world, cookbook / tips / "hack" style books are a funny thing. Unlike food cookbooks you purchase when you have a specific culinary goal, scripting cookbooks are typically bought without much knowledge of the information that they are going to present to you. This can be doubly so when you are purchasing from an online vendor that has not made the table of contents (TOC) available. At the time I write this, has not. O'Reilly's does, and I encourage you to visit this title's TOC page on O'Reilly's web site first before you purchase.

For what this book covers, it is covered very well. The included scripting projects are indeed useful, efficiently written, presented in a user friendly manner, and as a whole contain very few errors. Each script example is presented by introducing a web design problem, followed by a solution discussion, a working script, and a follow-up if needed. None of the code examples in the book are included, but again, O'Reilly's web site for this book has the files available for download.

This is not a stand-alone title, it is not for JavaScript beginners, and it is not a cookbook that provides generic solutions. This is a great companion book to the author's other book, "Dynamic HTML: The Definitive Reference" (ISBN 1565924940) and David Flanagan's title "JavaScript: The Definitive Guide" (ISBN 0596000480). Web developers looking to better utilize HTML and JavaScript will find (or already know) that these two mentioned books are invaluable. As for this cookbook, if you see something in the TOC that interests you, make the purchase and you certainly wont regret it. But if you don't, feel comfortable skipping it.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
28 of 31 people found the following review helpful By Thomas Duff HALL OF FAMETOP 1000 REVIEWERVINE VOICE on January 7, 2004
Format: Paperback
[Updated review of the 2nd edition - 05/15/2008]

Even after programming for all these years, I *still* like to see examples of a new (or old) technique before I try and code it. That's why I like JavaScript & DHTML Cookbook by Danny Goodman.

From simple JavaScript statements to complex web page parsing, Goodman shows you working code while also explaining how it works.

Table of Contents:

1. Strings
2. Numbers and Dates
3. Arrays and Objects
4. Variables, Functions, and Flow Control
5. Browser Feature Detection
6. Managing Browser Windows
7. Managing Multiple Frames
8. Dynamic Forms
9. Managing Events
10. Page Navigation Techniques
11. Managing Style Sheets
12. Visual Effects for Stationary Content
13. Positioning HTML Elements
14. Creating Dynamic Content
15. Dynamic Content Applications

Appendix A: Keyboard Event Character Values
Appendix B: Keyboard Key Code Values
Appendix C: ECMAScript Reserved Keywords

Since JavaScript is not a language I use on a daily basis (unlike LotusScript where I live and breathe), my mind doesn't automatically start writing code when someone asks for a feature in one of my Domino Web apps. In fact, I'm usually in a position of not knowing what I don't know. It's like trying to look up a word in the dictionary when you don't know how to spell it; it makes it really difficult.

This is where I value Goodman's cookbook approach to JavaScript. Rather than focus on all the methods and properties of a JavaScript object, he lists things by activity, such as converting between Unicode values and String characters or auto-tabbing for fixed-length text boxes.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
JavaScript & DHTML Cookbook (2nd edition)
This item: JavaScript & DHTML Cookbook (2nd edition)
Price: $32.48
Ships from and sold by