A decent introduction to JavaScript and JScript, JavaScript Complete does a good job of walking a new programmer through the elementary aspects of the language. Though coverage of the language's more advanced capabilities isn't great, you'll finish this book knowing how to do several popular tricks with JavaScript--and knowing something about animation.
After walking you through the most basic aspects of the language (including how it relates to various browsers) and guiding you through a "Hello, World" example, Holzner explains operators and control structures and details the most popular and useful objects one by one. He devotes large sections to the Form, Image, Document, Window, Navigator, Location, and History objects.
This book differentiates itself from other JavaScript tutorials through its discussion of JavaScript animation, an area that has received little coverage. Holzner shows how to do animation both with and without using the Layer object (based on HTML 4.0). You'll also find unusually comprehensive coverage of LiveConnect's ability to link JavaScript and Java. An accompanying CD-ROM holds code examples discussed in the book.
One potentially cool feature that suffers from poor implementation is an appendix that lists all the keywords, properties, and methods of JavaScript and indicates which are supported by which browser. Unfortunately, the author lists browsers as "Netscape Navigator" and "Microsoft Internet Explorer," making no mention of the various versions. Therefore, when the table says that Internet Explorer supports the Image object, it is misleading. (Only Internet Explorer 4.0 and later versions of the browser support the Image object.) --David Wall
Book Description
JavaScript is one of the most useful Scripting languages available for Web developers. JavaScript Complete will fill the need of teaching developers how to develop scripts that work seamlessly across Netscape's browser and Microsoft's browser.