JavaScript & DHTML Cookbook (2nd edition)

JavaScript & DHTML Cookbook (2nd edition)
Price: $44.99 USD
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 for:
  • Working with interactive forms and style sheets
  • 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
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.
Author: Danny Goodman
Publisher: O'Reilly Media, Inc.
Customer Reviews
  • Great book
    I really like this book. The format of each technique demonstrated is <br /> <br />Problem- Solution- Discussion <br /> <br />The nice thing is that you can get a quick explanation from the solution, and a more in depth response in the discussion. The author presents complete code which is easily built upon and customized. <br /> <br />I knew a bit of Javascript when I started, but I think this would be an excellent book even for a complete beginner.
  • excellent reference
    I still have the first edition of this book but other than perhaps missing the chapters on ajax it's not outdated at all. This book has saved my life several times already. Almost every time I am looking to solve a tricky problem in javascript, I find that this book contains a well explained chapter with the exact solution that I was looking for. The authors often make a point of going through multiple iterations of a solution, to demonstrate what needs to be modified to support certain browsers, and at the same time ensure that the reader actually understands the code too. <br /> <br />This is a great book for experienced javascript developers who want to save time by using tried and tested code to solve common problems, but at the same time understand that code too. <br />
Results provided by Amazon