JavaScript & DHTML Cookbook and over 2 million other books are available for Amazon Kindle . Learn more

Buy Used
Used - Very Good See details
Price: 2.00

Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading JavaScript & DHTML Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

JavaScript & DHTML Cookbook: Solutions and Example for Web Programmers [Paperback]

Danny Goodman
4.2 out of 5 stars  See all reviews (5 customer reviews)

Available from these sellers.


Amazon Price New from Used from
Kindle Edition 17.50  
Library Binding --  
Paperback 28.99  
Paperback, 1 May 2003 --  
There is a newer edition of this item:
JavaScript & DHTML Cookbook JavaScript & DHTML Cookbook 4.2 out of 5 stars (5)
In stock.

Book Description

1 May 2003 0596004672 978-0596004675 1

On numerous online forums for JavaScript and DHTML, the majority of questions begin with "How do I...?" This new Cookbook provides the answers. After reading thousands of forum threads over the years, author and scripting pioneer Danny Goodman has compiled a list of problems that frequently vex scripters of various experience levels. He has now applied state-of-the-art ECMA and W3C DOM standards and used best practices to create this extensive collection of practical recipes that can bring your web pages to life.

The JavaScript & DHTML Cookbook is all about adding value to the content of a web page. The book focuses on practical and sensible applications of scripting, rather than flying images and gratuitous color changes. For every problem Goodman addresses, there's a solution or "recipe"--a focused piece of code that web developers can insert directly into their applications. Yet, rather than just cut-and-paste code, you also get explanations of how and why the code works, so you can learn to adapt the problem-solving techniques to your designs.

The recipes range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements and sorting tables. This book contains over 150 recipes on the following topics:

  • Working with interactive forms and style sheets
  • Presenting user-friendly page navigation
  • Creating dynamic content
  • Producing visual effects for stationary content
  • Positioning HTML elements
  • Managing browser windows and multiple frames
This book is the ideal companion to O'Reilly's JavaScript: The Definitive Guide and Dynamic HTML: The Definitive Reference. If you own either of these books, the JavaScript & DHTML Cookbook is a must.

Product details

  • Paperback: 544 pages
  • Publisher: O'Reilly Media; 1 edition (1 May 2003)
  • Language: English
  • ISBN-10: 0596004672
  • ISBN-13: 978-0596004675
  • Product Dimensions: 23 x 18 x 2.8 cm
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Bestsellers Rank: 1,217,589 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description


"...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

About the Author

has been writing about personal computers and consumer electronics since the late 1970s. In 2001, he celebrated 20 years as a free lance 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 JavaScript Bible book is now in its fourth edition. 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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
2 star
1 star
4.2 out of 5 stars
4.2 out of 5 stars
Most Helpful Customer Reviews
43 of 43 people found the following review helpful
5.0 out of 5 stars Just the job 5 Jun 2003
By A Customer
I have been working on developing a web application now for about 6 months and just recently got this book. I only wish I had got hold of it 6 months ago. Looking through the table of contents it contains examples of nearly all the Javascript functionality that I have struggled to incorporate into our application. I would have saved loads of time and probably have coded things a lot more efficiently if I'd had this book first. Topics such as date validation, handling script errors, creating a new window, bringing a window to the front, changing the contents of one frame from another, resizing frames, setting frameset specifications dynamically, blocking submissions from the Enter Key, Advancing Text Field Focus with the Enter Key to name just a few! I've already used it since getting it to look up modal windows and creating tree-view structures.
This is everything I expected that book to be.
I heartily recommend this book. It has tons of highly usable examples.
Comment | 
Was this review helpful to you?
12 of 12 people found the following review helpful
By A Customer
I don't normally write reviews but after reading this book I felt I had to spread the good word. The style and pace of this book is excellent if you are already a programmer and need to pick up javascript quickly. You'll need a more comprehensive Javascript book to ensure you cover all bases, but if you want to learn the basics and how to actually deliver results without having to wade through chapters of general theory of programming then this is the type of book for you.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars All round package 29 Mar 2008
Format:Paperback|Verified Purchase
This book delivers a lot.

It is uniquely difficult to get into client scripting because it draws on so many technologies; has been a battle ground for browser developers; and the development tools are so poor.

I read(tried to read) loads of books on client side scripting but could not get the picture I needed to understand what is going on. They either each describe a single technology which is not, in itself, enough to get started with, or they describe such a big picture that there is no practical application for the knowledge.

This book covers sufficient ground that a complete picture emerges but also links that picture to the practical details needed to get stuck in.

As well as getting me going there was plenty of depth to and detail whenever I wanted it.

I have always found that in each area there is one book which has provided the breakthrough. For client side scripting this has been that book.
Comment | 
Was this review helpful to you?
3.0 out of 5 stars Useful, a little dated now. 9 July 2014
Format:Paperback|Verified Purchase
Not so up-to-date nowadays, but a good format, and I've found it useful.
Comment | 
Was this review helpful to you?
3.0 out of 5 stars Showing its age. 14 May 2011
The trouble with a lot of web-related books is that they can age very quickly. A book on Facebook, for instance, will likely be out of date before it hits the shops. Javascript itself fairs much better, as is fairly robust and non-changing. DHTML... hmmm, in itself, DHTML is the same as its always been. However, as soon as you combine it with DOM manipulation then you hit the wall that is browser compatability.

The book was written in 2007. It worries about IE5 compatability. I am writing this using IE9. Firefox 4 is out now. Chrome exists. Go figure.

That being said, the logic behind how the code works is sound. Algorithms to calculate visibile window size etc hold whatever language you are using. Its just out of date when applied using the examples.

Had I written this review in 2007, I would have awarded it 5 stars, as it is excellent for its time. However, if you are looking in 2011 for a book on Javascript and DHTML etc, I recommend instead that you look at
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category