Chapter 12. Ajax and Dynamic Content

Although inline frames can be an appropriate way to load external content into your web pages, they are not as flexible as much modern functionality would require. Building web applications, you will generally try to provide a specific answer to some request of the user, so it is likely that you will need to dynamically load external content on actions of the user or resort to server-side scripting to process user input.

This would traditionally require that you use multiple forms and load a new page every time the user has completed a significant piece of information, which of course violates a number of principles that we have presented in earlier chapters. Because the experience for the user should be made ...

Get Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.