Try this link:

http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3ISCxIJU2F2ZWRDb2RlGPjk1gEM

It's not based exactly on your code, but it will at least demonstrate  
the concepts that you need to accomplish your objective.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Sep 15, 2009, at 10:05 AM, neamer wrote:

> <script language="Javascript" type="text/javascript">
> //<![CDATA[
> google.load("search", "1");
> $(document).ready(function() {
>       $("#search").keyup(function () {
>       gLocalSearch = new google.search.LocalSearch();
>        gLocalSearch.setCenterPoint
> (google.loader.ClientLocation.address.city);
>        gLocalSearch.execute(document.getElementById("search").value);
>
>  });
> });
> //]]>
> </script>
> 我需要在里面添加什么代码来获得搜索结果。
> 我只想获取搜索的经纬度结果,尝试了几个方法,均不可实现。
> >


--~--~---------~--~----~------------~-------~--~----~
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