>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Beginning Ajax with PHP: From Novice to Professional, Part 2 -

 
Registered tutorials: 501
Registered Users: 33355



Rating: 0 out of 0 votes cast


  
Category: Ajax and PHP

Beginning Ajax with PHP: From Novice to Professional, Part 2

Digg this   Post to del.icio.us

Abstract: This article is excerpted from Chapter 3 of Beginning Ajax with PHP: From Novice to Professional

Auto-Complete

A nice feature that I first noticed as being received positively by the Internet community is the auto-complete feature in Gmail. Basically, when you're entering the e-mail address of the person you're sending a message to, Gmail searches your list of contacts (using Ajax) and automatically drops down a listing of all matches. You are then free to click one of the dropped-down objects to fill it into the requested field. The whole code integration is seamless and makes for a handy feature.

The next example will show you how to do the same thing although it's not quite as in-depth as the Gmail solution. Basically, I have built a way to feed a list of objects through an array (a database solution would be more effective, but that is outside of the scope of this example and will be shown later in the book), and then display them based on what the user has entered. The user can then click the name to fill out the field (hence the auto-completion).


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 101
Unique Hits: 80


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0 0 0.3 0.3 1.8 1.9
Current 0 0 0 0 0 0
Previous 0 0 0 0 0 0
Dec 2 0 0 0 0 4 4
Dec 1 0 0 0 0 1 1
Nov 30 0 0 0 0 2 2
Nov 29 0 0 0 0 4 4
Nov 28 0 0 0 0 0 0
Nov 27 0 0 0 0 0 0
Nov 26 0 0 2 2 7 8
Nov 25 0 0 1 1 0 0
Highest 3 7 6 10 14 18


Script Execution Time: 0.17226 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2