The Book of JavaScript, 2nd Edition

With JavaScript, you can add interactivity, animation, and other tricks to your web pages quickly. But this isn’t just a book of scripts for you to cut and paste into your HTML, only to find out later that nothing works as you’d expected. Using real-world examples as the starting point, author thau! walks you step by step through various scripts and explains how they produce the effects you want.

Because no discussion of JavaScript today is complete without coverage of Ajax, this thoroughly updated second edition includes new chapters on Ajax, so you can get up to speed with this valuable method for creating truly dynamic web pages. This second edition of the best-selling The Book of JavaScript also features revised appendices and new examples throughout to reflect today’s web environment. Inside, you’ll learn to:

  • Work with frames, forms, cookies, and alarms
  • Use events to react to a user’s actions
  • Perform image swaps and rollovers
  • Program your own functions to produce customized solutions
  • Store user preferences and build a shopping cart
  • Use Dynamic HTML to turn web pages into multimedia applications

If you need to spruce up tired-looking pages, The Book of JavaScript, 2nd Edition will help take your site from bland to brilliant.

BONUS: Includes a complete reference to all JavaScript objects and functions, including examples, properties, methods, handlers, and browser compatibility!

Table of Contents
Chapter 1. Welcome to JavaScript!
Chapter 2. Using Variables and Built-in Functions to Update Your Web Pages Automatically
Chapter 3. Giving the Browsers What They Want
Chapter 4. Working with Rollovers
Chapter 5. Opening and Manipulating Windows
Chapter 6. Writing Your Own JavaScript Functions
Chapter 7. Providing and Receiving Information with Forms
Chapter 8. Keeping Track of Information with Arrays and Loops
Chapter 9. Timing Events
Chapter 10. Using Frames and Image Maps
Chapter 11. Validating Forms, Massaging Strings, and Working with Server-Side Programs
Chapter 12. Saving Visitor Information with Cookies
Chapter 13. Dynamic HTML
Chapter 14. Ajax Basics
Chapter 15. XML in JavaScript and Ajax
Chapter 16. Server-Side Ajax
Chapter 17. Putting It All Together
Chapter 18. Debugging JavaScript and Ajax

Appendix A. Answers to Assignments
Appendix B. Resources
Appendix C. Reference to JavaScript Objects and Functions
Appendix D. Chapter 15’s Italian Translation Script and Chapter 17’s To Do List Application

Book Details

  • Paperback: 528 pages
  • Publisher: No Starch Press; 2nd Edition (December 2006)
  • Language: English
  • ISBN-10: 1593271069
  • ISBN-13: 978-1593271060
Download [14.1 MiB]

You may also like...

Leave a Reply