JavaScript & DHTML Cookbook
Solutions and Example for Web Programmers
By Danny Goodman
First Edition
April 2003
Pages: 540
Series: Cookbooks
ISBN 10: 0-596-00467-2 |
ISBN 13: 9780596004675




(Average of 2 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.
Book description
On numerous online forums for JavaScript and DHTML, the majority of questions begin with "How do I...?" This new Cookbook provides the answers with a comprehensive collection of problems, solutions, and practical examples. The book's 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.
Full Description
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.
Browse within this book
Cover
| Table of Contents
| Colophon
Featured customer reviews

JavaScript & DHTML Cookbook Review,
September 28 2003
Submitted by Robert Bannon from the Columbia Java Users Group
[
Respond |
View]
The JavaScript & DHTML Cookbook is about using javascript and css to create dynamic user
interfaces for your web application. Each "recipe" starts with a statement of the problem. This is
followed by the solution, which includes the code to make it run. After the solution section, a
discussion section follows. The discussion section includes explanations of why the code works and
various alternatives.
The book is broken up into chapters and each chapter consists of recipes that relate to the main
topic of the chapter. For every chapter, there is an introduction, which is a very good summary of
the DHTML topic. Just reading the chapter introductions would give a high level overview of
DHTML.
The recipes are practical solutions for problems that a developer could actually encounter. There
are not flashy recipes that are useless. The recipes consist of simple solutions to complex
solutions to application problems. The book could be used as a reference to solve a particular problem
that you have or the book could be read, especially the discussion sections, to understand how to
solve problems with DHTML. The only drawback to using the code for a recipe is that some recipe
built on top on other recipes and you need to find the previous recipe.
In summary, I would recommend this book for any client-side web developer.
JavaScript & DHTML Cookbook Review,
August 02 2003
Submitted by Nick
[
Respond |
View]
I got this book a week and its already been very useful to me.
As the author says in his introduction, these are examples of how to solve real world problems.
The presentation of the examples is very clear and the downloadable examples very useful.
If you are developing using JavaScript and DHTML this is a must buy.
Read all reviews
Media reviews
"The book managed to both surprise and impress me, a great combination to have in a book...The recipes in 'JavaScript & DHTML cookbook' are extremely practical, well thought out, and even educational."
--Ada Shimar, JavaScript Kit, August 2003
http://www.javascriptkit.com/javatutors/jscookbookreview.shtml
"Danny Goodman is well known for his JavaScript Bible. The 'JavaScript & DHTML Cookbook' complements that title to show both beginners and experienced developers different ways to use the language...I highly recommend this book for both JavaScript/DHTML beginners and pros. The beginners will learn how to effectively use the languages, and the pros will pick up a few tricks that they didn't know before."
--Thomas Duff,
Portland Domino/Notes User Group, 8/2/03
"I want to write my scripts myself, like I do the rest of my code, and I need a good book to which I can refer as I teach myself the language. This is that book! Goodman's 'JavaScript and DHTML Cookbook' is perfect for someone who wants to explore JavaScript, or for someone who is skilled with the language who needs to look up just how to handle a particular programming problem now and then...Goodman sets forth a task, such as opening a popup window, explains it, shows you the code to do it, then discusses the script and why it works...It's like sitting in a room with another bithead discussing problems and solutions. Sometimes you even laugh! The recipes range from very simple to extremely complex. There's something in here for every webmaster."
--Lora Smith, North Coast Macintosh Users Group of Ohio, July 2003
Read all reviews