Beginning JavaScript, Fifth Edition

  • 11h 49m
  • Jeremy McPeak, Paul Wilton
  • John Wiley & Sons (US)
  • 2015

The bestselling JavaScript guide, updated with current features and best practices

Beginning JavaScript 5th Edition shows you how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5. This new edition has been extensively updated to reflect the way JavaScript is most commonly used today, introducing you to the latest tools and techniques available to JavaScript developers. Coverage includes modern coding practices using HTML5 markup, the JSON data format, DOM APIs, the jQuery framework, and more. Exercises with solutions provide plenty of opportunity to practice, and the companion website offers downloadable code for all examples given in the book.

  • Learn JavaScript using the most up to date coding style
  • Understand JSON, functions, events, and feature detection
  • Utilize the new HTML5 elements and the related API
  • Explore new features including geolocation, local storage, and more

JavaScript has shaped the Web from a passive medium into one that is rich, dynamic, and interactive. No matter the technology on the server side, it's JavaScript that makes it come alive in the browser. To learn JavaScript the way it's used today, Beginning JavaScript, 5th Edition is your concise guide.

About the Authors

Jeremy McPeak is a professional programmer and analyst who works extensively with JavaScript and C#. He coauthored both of the previous editions of Beginning JavaScript, and authored the well-reviewed JavaScript 24-Hour Trainer. He contributes to the online, web-centric learning site Tuts+ Code, covering topics such as JavaScript, C#, and the .NET Framework.

Paul Wilton owns his own company, providing online booking systems to vacation property owners, which is largely developed using JavaScript.

In this Book

  • Introduction
  • Introduction to JavaScript and the Web
  • Data Types and Variables
  • Decisions and Loops
  • Functions and Scope
  • JavaScript—An Object-Based Language
  • String Manipulation
  • Date, Time, and Timers
  • Programming the Browser
  • DOM Scripting
  • Events
  • HTML Forms—Interacting with the User
  • JSON
  • Data Storage
  • Ajax
  • HTML5 Media
  • jQuery
  • Other JavaScript Libraries
  • Common Mistakes, Debugging, and Error Handling