Implementing Google Suggest in Search box using jQuery AutoComplete plug-in
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