Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Google Custom Search issues Reply To: Google Custom Search issues

#150857
Kevin Mamaqi
Participant

Is in the menu, at the right, but doesn’t display nothing and I don’t know why:

<div class="col-md-4 busqueda">
                     <script>
  (function() {
    var cx = 'partner-pub-CCCXXXCCCXXXCCCXXXCCC';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:searchbox></gcse:searchbox> 
                </div>