My only real complaint about the book is that some of the technical details are not quite accurate. For example, Chapter 4 makes extensive use of
parseFloat(), but the author incorrectly indicates that you should use 10 as the second argument to ensure the value is parsed as base-10. The
parseFloat() function doesn’t actually have a second argument, so it leaves me wondering if he meant to use
parseInt() or was just confused about proper use of
parseFloat(). Also, the description of Ajax in chapter 6 was a little too simplistic for my tastes, introducing XML as a necessary component and XMLHttpRequest as the necessary transport mechanism. The lines between JSON and object/array literals were a bit to blurry as well.
After the first few chapters, the book focuses on creating cool and useful effects on HTML pages. This, of course, is the area in which jQuery excels. All of the most common effects are included: form validation, animation, autocomplete, and Ajax interactions. This is, I believe, exactly what the target audience for this book would be interested in: quick solutions to create compelling user interactions for simple web sites or prototypes.