O'Reilly logo

JavaScript & jQuery: The Missing Manual, 3rd Edition by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Missing Credits

About the Author

image with no caption

David Sawyer McFarland is president of Sawyer McFarland Media, Inc., a web development and training company in Portland, Oregon. He’s been building websites since 1995, when he designed his first site—an online magazine for communication professionals. He’s served as webmaster at the University of California at Berkeley and the Berkeley Multimedia Research Center, and oversaw a complete CSS-driven redesign of Macworld.com.

In addition to building websites, David is also a writer, trainer, and instructor. He’s taught web design at UC Berkeley Graduate School of Journalism, the Center for Electronic Art, the Academy of Art College, Ex‘Pressions Center for New Media, and Portland State University. He’s written articles about the web for Practical Web Design, MX Developer’s Journal, Macworld magazine, and CreativePro.com.

He welcomes feedback about this book by email: . (If you’re seeking technical help, however, please refer to the sources listed in Appendix A.)

About the Creative Team

Nan Barber (editor) is associate editor for the Missing Manual series. She lives in Massachusetts with her husband and various electronic devices. Email: .

Melanie Yarbrough (production editor) works and plays in Cambridge, Massachusetts, where she bakes up whatever she can imagine and bikes around the city. Email: .

Jennifer Davis (technical reviewer) is an engineer with years of experience improving platform development efficiency. As a Chef Automation engineer, she helps companies discover their own best practices to improving workflow reducing mean time to deploy. She is an event organizer for Reliability Engineering, the Bay Area Chef user group.

Alex Stangl (technical reviewer) has developed software professionally for 25+ years, using a myriad of languages and technologies. He enjoys challenging problems and puzzles, learning new languages (currently Clojure), doing technical reviews, and being a good dad and husband. Email: .

Jasmine Kwityn (proofreader) is a freelance copyeditor and proofreader. She lives in New Jersey with her husband, Ed, and their three cats, Mushki, Axle, and Punky. Email: .

Bob Pfahler (indexer) is a freelance indexer who indexed this book on behalf of Potomac Indexing, LLC, an international indexing partnership at www.potomacindexing.com. Besides the subject of computer technology, he specializes in business, management, biography, and history. Email: .

Acknowledgments

Many thanks to all those who helped with this book, including Jennifer Davis and Alex Stangl, whose watchful eyes saved me from potentially embarrassing mistakes. Thanks also to my many students at Portland State University who have sat through my long JavaScript lectures and struggled through my programming assignments—especially the members of Team Futzbit (Combination Pizza Hut and Taco Bell) for testing the tutorials: Julia Hall, Amber Brucker, Kevin Brown, Josh Elliott, Tracy O’Connor, and Blake Womack. Also, we all owe a big debt of gratitude to John Resig and the jQuery team for creating the best tool yet for making JavaScript fun.

Finally, thanks to David Pogue for getting me started; Nan Barber for making my writing sharper and clearer; my wife, Scholle, for putting up with an author’s crankiness; and thanks to my kids, Graham and Kate, because they’re just awesome.

—David Sawyer McFarland

The Missing Manual Series

Missing Manuals are witty, superbly written guides to computer products that don’t come with printed manuals (which is just about all of them). Each book features a handcrafted index and cross-references to specific pages (not just chapters). Recent and upcoming titles include:

Access 2010: The Missing Manual by Matthew MacDonald

Access 2013: The Missing Manual by Matthew MacDonald

Adobe Edge Animate: The Missing Manual by Chris Grover

Buying a Home: The Missing Manual by Nancy Conner

Creating a Website: The Missing Manual, Third Edition by Matthew MacDonald

CSS3: The Missing Manual, Third Edition by David Sawyer McFarland

David Pogue’s Digital Photography: The Missing Manual by David Pogue

Dreamweaver CS6: The Missing Manual by David Sawyer McFarland

Dreamweaver CC: The Missing Manual by David Sawyer McFarland and Chris Grover

Excel 2010: The Missing Manual by Matthew MacDonald

Excel 2013: The Missing Manual by Matthew MacDonald

Facebook: The Missing Manual, Third Edition by E. A. Vander Veer

FileMaker Pro 13: The Missing Manual by Susan Prosser and Stuart Gripman

Flash CS6: The Missing Manual by Chris Grover

Galaxy Tab: The Missing Manual by Preston Gralla

Galaxy S4: The Missing Manual by Preston Gralla

Galaxy S5: The Missing Manual by Preston Gralla

Google+: The Missing Manual by Kevin Purdy

HTML5: The Missing Manual, Second Edition by Matthew MacDonald

iMovie ’11 & iDVD: The Missing Manual by David Pogue and Aaron Miller

iPad: The Missing Manual, Sixth Edition by J.D. Biersdorfer

iPhone: The Missing Manual, Seventh Edition by David Pogue

iPhone App Development: The Missing Manual by Craig Hockenberry

iPhoto ’11: The Missing Manual by David Pogue and Lesa Snider

iPod: The Missing Manual, Eleventh Edition by J.D. Biersdorfer and David Pogue

Kindle Fire HD: The Missing Manual by Peter Meyers

Living Green: The Missing Manual by Nancy Conner

Microsoft Project 2010: The Missing Manual by Bonnie Biafore

Microsoft Project 2013: The Missing Manual by Bonnie Biafore

Motorola Xoom: The Missing Manual by Preston Gralla

NOOK HD: The Missing Manual by Preston Gralla

Office 2010: The Missing Manual by Nancy Conner and Matthew MacDonald

Office 2011 for Macintosh: The Missing Manual by Chris Grover

Office 2013: The Missing Manual by Nancy Conner and Matthew MacDonald

OS X Mountain Lion: The Missing Manual by David Pogue

OS X Mavericks: The Missing Manual by David Pogue

OS X Yosemite: The Missing Manual by David Pogue

Personal Investing: The Missing Manual by Bonnie Biafore

Photoshop CS6: The Missing Manual by Lesa Snider

Photoshop CC: The Missing Manual by Lesa Snider

Photoshop Elements 12: The Missing Manual by Barbara Brundage

PHP & MySQL: The Missing Manual, Second Edition by Brett McLaughlin

QuickBooks 2014: The Missing Manual by Bonnie Biafore

QuickBooks 2015: The Missing Manual by Bonnie Biafore

Switching to the Mac: The Missing Manual, Mavericks Edition by David Pogue

Switching to the Mac: The Missing Manual, Yosemite Edition by David Pogue

Windows 7: The Missing Manual by David Pogue

Windows 8: The Missing Manual by David Pogue

WordPress: The Missing Manual, Second Edition by Matthew MacDonald

Your Body: The Missing Manual by Matthew MacDonald

Your Brain: The Missing Manual by Matthew MacDonald

Your Money: The Missing Manual by J.D. Roth

For a full list of all Missing Manuals in print, go to www.missingmanuals.com/library.html.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required