Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Beginning Ajax with PHP: From Novice to Professional, Part 2
Jan 12, 2007 @ 13:04:41

PHPBuilder.com is back with part two of their look at building an application combining PHP and Ajax (as excerpted from the Apress book "Beginning Ajax with PHP: From Novice to Professional"). Part one for the series is here.

A nice feature that I first noticed as being received positively by the Internet community is the auto-complete feature in Gmail. [...] The next example will show you how to do the same thing - although it's not quite as in-depth as the Gmail solution.

They start with the CSS and Javascript to make the application work, including a simple XMLHttpRequest object for the Ajax connection. The "autocomplete" function is called via an onKeyPress event in the form on the page, grabbing the content and firing off a request to the backend script. The also include a series of screenshots that show the different steps of the process from entering the information down to outputting the results.

tagged: part2 ajax autocomplete novice professional excerpt apress book part2 ajax autocomplete novice professional excerpt apress book

Link:


Trending Topics: