Hi lazy tech newbie,

It looks like the sample code you copied is missing a few lines of code. The
call to google.load brings in the JavaScript for the search API, but you
haven't told it what to do yet. Take a look at this example:

http://code.google.com/apis/ajax/playground/#custom_search_control

Happy coding,

Jeff

On Fri, Aug 28, 2009 at 8:30 AM, lazy tech newbie <[email protected]>wrote:

>
> I've cut and pasted the following code into a HTML page in firefox:
> <html>
> <body>
>
> <!-- Google Custom Search Element -->
> <div id="cse" style="width:100%;">Loading</div>
> <script src="http://www.google.com/jsapi"; type="text/javascript"></
> script>
> <script type="text/javascript">
>  google.load('search', '1');
> </body>
> </html>
> The problem is that "loading" in the 'div' above never is replaced by
> anything else, it just stays there.
> Javascript is enabled in my browser.
> Is there any reason for this?
> Thanks,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to