O'Reilly logo

PHP Ajax Cookbook by R. Rajesh Jeba Anbiah, Roshan Bhattarai, Milan Sedliak

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 2. Basic Utilities

In this chapter, we will cover:

  • Validating a form using Ajax
  • Creating an autosuggest control
  • Making form wizards
  • Uploading a file using Ajax
  • Uploading multiple files using Ajax
  • Creating a five-star rating system
  • Building a PHP Ajax contact form with validation
  • Displaying a table in Ajax
  • Building Pagination using PHP and Ajax

In this chapter, we will learn how to build the basic Ajax forms. We will try to understand where we can use Ajax methodology and where we can't. There are a lot of ways in which we can use Ajax. Here are some "best" practices based on user experience and the performance of the specific system. Ajax makes our lives easier, faster, and better; how and where to use it is up to us.

Validating a form using Ajax ...

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