Modern JavaScript: Develop and Design

Welcome to the companion Web pages for the book Modern JavaScript: Develop and Design, written by Larry Ullman and published by Peachpit Press (ISBN 0-321-81252-2). The book was published in February 2012.

Modern JavaScript: Develop and Design was written to teach JavaScript as a complete programming language. The book does so using practical examples and emphasizing approaches that represent how the language should truly be used today. You’ll learn sound Web development theory, relying heavily upon unobtrusive JavaScriptprogressive enhancement, and object detection, among other concepts. At the same time, you’ll also walk away with plenty of usable code and many examples that are applicable to today’s Web. There’s even a chapter on using JavaScript and PHP together to create a complete, functional, and reliable Web application (the basis of an auction site).

Other Resources

Beside the handful of pages dedicated to this book, there’s plenty of other content on in which you might be interested. Use the “Post Categories” links above to browse by general topic. Any post that’s pertinent specifically to this edition of this book will also have the “jsdd” tag (also accessible through the “Extras” link on right).


You can download the code for the book using the link below. If you have any questions or problems, I’d recommend using the book’s corresponding support forum, where you’ll get the fastest answer. Some things you should know:

  • Although these scripts are named  as they are in the book, they do include any updates and changes as warranted by errors that were found after publication. Thus, if you are having problems with a particular script, download the most current version here or check the errata section.
  • The URLs as referenced in the book are not available for execution online.
  • These scripts have been formatted with line breaks that will work on most systems running most text editors. If you have difficulty opening a script, try:
    • adjusting the way your text editor treats text files
    • using a different text editor, if possible
    • posting a message to the online forum, asking for help

Complete Set of Scripts (236 KB, last modified 06/13/2012)