O’Reilly news

JavaScript & DHTML Cookbook, 2nd Ed.--New from O'Reilly
Bite-Sized Solutions to the Most Common Scripting Problems

August 15, 2007

Sebastopol, CA--In today's Web 2.0 world, JavaScript and Dynamic HTML are at the center of this hot new approach to designing highly interactive pages on the client side. With this environment in mind, the new edition of JavaScript & DHTML Cookbook 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.

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. "I wrote fresh code to solve the problems with emphasis on support for Web standards to facilitate forward compatibility with the latest (and next) generations of browsers. The second edition contains almost 20 new recipes, while many of the original ones have been extensively revised and updated to meet the demands of the latest best practices in client-side scripting."

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 and experienced scripters alike, this book contains more than 150 recipes for:

  • Working with interactive forms and stylesheets
  • Presenting user-friendly page navigation
  • Creating dynamic content via Document Object Model scripting
  • Producing visual effects for stationary content
  • Positioning HTML elements
  • Working with XML data in the browser

Many recipes from the previous edition have been revised to help you build extensible user interfaces for Web 2.0 applications, and several new recipes provide client-side Ajax solutions. Every recipe is in the book is compatible with the latest W3C standards and browsers, including Internet Explorer 7, Firefox 2, Safari, and Opera 9.

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.

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, with the release of this volume, 45 computer-related books. Through the years, his most popular book titles-on HyperCard, AppleScript, JavaScript, and Dynamic HTML-have covered programming environments that are accessible to nonprofessionals, yet powerful enough to engage experts. His Dynamic HTML: The Definitive Reference, now in its third edition, is an O'Reilly bestseller.

More information about the book, including table of contents, index, author bio, and samples

JavaScript & DHTML Cookbook, 2nd Ed.
Danny Goodman
ISBN: 9780596514082, $44.99 US
1005 Gravenstein Highway North
Sebastopol, CA 95472

About O’Reilly

O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

Email a link to this press release