Best Answer Simon_P , 05 March 2014 - 09:11 PM
Anyway I created a custom search to test this, I added a textbox and put this code in it:
var cx = '002850982299749365326:eonehb8boro';
var gcse = document.createElement('script');
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script');
And that works no problem. So either the code you are entering is wrong/broken or google is blocking your site.
Maybe you should ask them?
Add your code to a blank html file on your server and open that in a browser, see if that works, or try my code.Go to the full post