O'Reilly logo

Beginning Smartphone Web Development: Building JavaScript, CSS, HTML and Ajax-based Applications for iPhone, Android, Palm Pre, BlackBerry, Windows Mobile, and Nokia S60 by Gail Frederick

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

Chapter 5. Adding Interactivity with JavaScript and AJAX

Using mobile JavaScript and Asynchronous JavaScript and XML (AJAX) can increase the interactivity of a dynamic Mobile Web site, mitigate its impact on a mobile network, and improve usability on smartphones and other devices with advanced mobile browsers. This chapter introduces client-side scripting using JavaScript and AJAX on supported mobile devices, providing development tips, code samples, and suggestions for avoiding common pitfalls. Of course, scripting functionality should be conditionally included in a Mobile Web page, allowing the page to maintain compatibility with older mobile browsers that do not support these advanced features.

With mobile JavaScript, the devil is truly in the ...

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