The autocomplete

Method 1-Using the control panel.

  1. Go to your google custom search control panel.
  2. Go to Search features->autocomplete->Enable autocomplete.custom search autocomplete

Method 2- Editing the google custom search code

In the google custom search code, replace



<gcse:search enableAutoComplete="true"></gcse:search>

For example-

  (function() {
    var cx = '003606982592251140240:5xbiwoxb3m0';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = '' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
<gcse:search enableAutoComplete="true"></gcse:search>


This will enable autocomplete.custom search autocomplete

As you can see the autocomplete you get from google custom search is not of great quality.

For an faster and ad free search autocomplete experience, move to expertrec.

custom search autocomplete

Build your search autocomplete

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like