Implementing Google Suggest in Search box using jQuery AutoComplete plug-in

September 23, 2010 at 10:57 am Leave a comment


One of our Customers wants to have Auto Suggestion similar to Google search in the Search input of his website.

So, I referred this article for implementing this Google suggestion using jQuery AutoComplete plug-in.

I came to know that we can use http://suggestqueries.google.com/complete/search?qu=qualitypoint for getting auto Suggestion from Google. But I am not sure whether it is officially supported by Google as API. Anyway it is working fine.

But I couldn’t directly use the output of this suggestion in AutoComplete plug-in.

The reason is, search querystring “q” is hard-coded in the jQuery AutoComplete, but the Google suggest is using “qu” as search query string parameter.

So, I wanted to use a separate php file as proxy or bridge between them.
To view the code for Implementing Google Suggest in Search box using jQuery AutoComplete plug-in

Advertisements

Entry filed under: Software. Tags: .

Showing Related Stories using LinkWithin FireFox Add-on for easily identifying NoFollow links

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Tweets

September 2010
M T W T F S S
« Aug   Oct »
 12345
6789101112
13141516171819
20212223242526
27282930  

Blog Stats

  • 26,986 hits

QualityPoint on Twitter


%d bloggers like this: