Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your email address or mobile phone number.
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
Frequently Bought Together
Customers Who Viewed This Item Also Viewed
More About the Author
Working with the web consultancy firm Clearleft, I enjoy building accessible, elegant websites using the troika of web standards: XHTML, CSS and the DOM.
My online home is adactio.com.
I'm is a member of the Web Standards Project where I serve as joint leader of the DOM Scripting Task Force.
Top Customer Reviews
The author focuses on teaching correct methods and approaches, often taking the long way around to make it easier to see the larger picture. This requires a lot of forethought and organization on the part of an author and here the material excels. I don't think anyone will trip up following this guide through the Web script jungle.
The author also avoids the unbearable humor and cutesy language encountered so often in tech books. Thank you Mr. Keith! This is good, clear writing to go with good, clean scripting.
Quibbles: I think the author should have been more concerned with compatibility issues, esp. with IE6, the decrepit but still dominant browser. For instance, on pp 200-01, he recommends using the setAttribute() method to set a class but does not mention that IE improperly demands "className" as a parameter. His snippet would fail in IE. The chapter on CSS scripting was good but barely scratched the surface, not mentioning a bunch of cool scriptable objects.
Overall, this book is a worthy tool that should be welcomed by the target audience.
There are eight chapters that explain and show you how DOM scripting can be used. The final chapter talks about the future of scripting and gives examples of AJAX--a great bonus!
2) ..Explains every single bit of code in a simple language.
3) ..uses simple and easy-to-follow code.
4) ..Starts a chapter with a very simple program and build on it as you read.
6) ..encourages you to 'understand' the code instead of 'memorizing' it
7) ..is written by Jeremy Keith
The book has its weak moments; I mention only two of them, one on the theory, the other on programming:
1) an apparent inconsistency on the properties of childNode array. After having repeatedly stated that this array contains ALL the children of an element node ("including the attribute nodes", see p. 67), it suddenly states (p. 70, p. 154, etc) that the text node of a paragraph node is the first and ONLY node of childNodes. Some tests (using elements that had attributes) confirmed that this last statement was correct. So, apparently, the childNodes array of an element does NOT report its attribute nodes, contradicting the first assertion.
2) the function "showPicture()", the central routine of the example that runs across all the book. All is fine, until Jeremy suddenly decides to change (ch 6, p.Read more ›
Most Recent Customer Reviews
This is an outstanding book. I has excellent step-by-step examples, and explains things that I’ve never read in other programming books. Read morePublished 19 months ago by J. Dadlez
first they tell you that you have to learn all the stuff in this book. if you pass that class and go on to the next, they tell you to forget everything from the previous class and... Read morePublished 24 months ago by patrick reed
So far this book has broken down every part step by step. I have not completed this book yet but i am looking forward to every chapter going forward.Published on December 22, 2013 by Adam
I had to use this for an intro coding class when we didnt know what to do. This is not a good book for intro stuff. Read morePublished on July 17, 2013 by Shiro
Dom Scripting is a subject that many authors have shied away especially in the past years, to avoid having to tackle the annoying browser inconsistencies, and this is a real pity... Read morePublished on July 7, 2013 by Riccardo Audano
SUPER clear and easy to read. Very well done exercises and concepts well explained. I loved this book and learned a ton from it! GREAT reference!!!Published on June 1, 2013 by M. J. Phillips