PhpRiot
Download This Article
Download this article in PDF format with all listings and files.

Price: $5.00 AUD
(Approx. $4.45 USD)

More information
Related Books
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP

The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP

With over 3 million users worldwide, Adobe's Dreamweaver is the most popular web development...

AJAX and PHP: Building Responsive Web Applications

AJAX and PHP: Building Responsive Web Applications

Building Responsive Web Applications with AJAX and PHP is the most practical and efficient...
Browse Articles
Ajax (4), APC (1), CAPTCHA (1), CSS (3), Debugging (1), File Upload (1), Google (3), Google Maps (2), JavaScript (11), JSON (2), MVC (1), MySQL (6), onbeforeunload (1), OOP (1), PHP (27), PhpDoc (1), PostgreSQL (6), Prototype (10), Reflection (1), RFC 1867 (1), Robots (1), Scriptaculous (1), SEO (1), Sessions (1), SimpleXML (1), Smarty (5), SOAP (1), SPL (1), Templates (2), W3C (1), XHTML (1), Zend Framework (1), Zend_Search_Lucene (1)

PhpRiot Newsletter
Your Email Address:

Cloning Google Suggest With Ajaxac

Using The Application

Now hopefully, all has gone well and it’s all pieced together correctly (if it hasn’t, you can visit the AjaxAC web site and download this example in full.

Assuming the database has been created and populated correctly, you should be able to hit the index.php file on your web server and type a partial phrase to get a list of results. This code will work (at minimum) in Internet Explorer 6 and in FireFox

If it doesn’t quite work, I highly recommend using FireFox to debug the JavaScript (as its JavaScript debugging is much better than Internet Explorer), and to verify the HTTP subrequest are working correctly, use the livehttpheaders plugin for FireFox, as it will easily allow you to see if requests are being made correctly.

AjaxAC doesn’t have a lot in the way of debugging at this stage, but hopefully that will change at some point down the track.

In This Article


Tagged in , , ,