O'Reilly logo

Learn HTML5 and JavaScript for iOS by Scott Preston

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

C H A P T E R  4

JavaScript and APIs

There's a lot to know about JavaScript and the APIs of HTML5. So much so it's not really possible to go over everything. However, there's a lot we can cover that's important to mobile development. Many of the things I talk about can be achieved by using a JavaScript framework such as jQuery, which is introduced at the end of the chapter, but first you need to know the basics of what's under the hood so you can deviate from a framework or fix problems when they come up.

The first thing to look at is the basics of JavaScript: things such as how to include and reference external JavaScript files as well as some basics for creating JavaScript objects and methods. Next I go into some of the JavaScript events ...

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