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