The Book Of Javascript, 2nd Edition by Thau
JavaScript makes it easy to add interactivity, animation, and other tricks to your web pages. But this isn't just a book of JavaScripts for you to cut and paste into your HTML, only to find out 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 Asynchronous JavaScript and XML), this thoroughly updated second edition includes new chapters on Ajax to get you up to speed with this valuable method for creating truly dynamic web pages. You'll also find revised appendices and new examples that reflect today's web environment. 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