Jump to ratings and reviews
Rate this book

JavaScript & DHTML Cookbook

Rate this book
In today's Web 2.0 world, JavaScript and Dynamic HTML are at the center of the hot new approach to designing highly interactive pages on the client side. With this environment in mind, the new edition of this book offers bite-sized solutions to very specific scripting problems that web developers commonly face. Each recipe includes a focused piece of code that you can insert right into your application.

Why is JavaScript & DHTML Cookbook so popular? 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. For every problem he addresses, Goodman not only offers code, but a discussion of how and why the solution works. 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, sorting tables, and implementing Ajax features on the client.

Ideal for novices as well as experienced scripters, this book contains more than 150 recipes Recipes in this Cookbook are compatible with the latest W3C standards and browsers, including Internet Explorer 7, Firefox 2, Safari, and Opera 9. Several new recipes provide client-side Ajax solutions, and many recipes from the previous edition have been revised to help you build extensible user interfaces for Web 2.0 applications. If you want to write your own scripts and understand how they work, rather than rely on a commercial web development framework, the JavaScript & DHTML Cookbook is a must.

608 pages, Paperback

First published April 1, 2003

1 person is currently reading
41 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
9 (13%)
4 stars
23 (35%)
3 stars
22 (33%)
2 stars
8 (12%)
1 star
3 (4%)
Displaying 1 - 3 of 3 reviews
Profile Image for Knute Snortum.
25 reviews3 followers
September 10, 2011
Nice "cookbook" of examples on making web pages active. I learn well through examples so this was a good book for me.
Profile Image for Mick Bordet.
Author 9 books4 followers
June 2, 2012


A useful set of examples, apart from the over-complicated chapter on dealing with IE, which is not the author's fault.
Profile Image for Jowai.
1 review
October 30, 2014
Since ECMAScript5 is widely supported and ES6 upcoming, this book(delivered in 2009 and based on ES3) is kind of outdated. Still worth reading though.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.