Ohh !
So any another idea to achieve this :(
On Feb 20, 7:07 pm, Jeremy Geerdes <[email protected]> wrote:
> Unfortunately, because of the potential complexities involved in a
> LocalSearch query (e.g., certain search operators must be at the end
> of the query), the setQueryAddition, although available, doesn't
> actually work.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project
> quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://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,
> athttp://jgeerdes.blogspot.com
> !
>
> On Feb 20, 2009, at 7:52 AM, the_new_guy wrote:
>
>
>
> > Hi,
>
> > I am very new to google Ajax asearch api and I am a basic PHP
> > Coder.Not very good at JS
>
> > I tried to code a search to list local restaurants using
> > google.search.LocalSearch().
> > I used
>
> > setQueryAddition("Restaurants");
>
> > so the user will only have to type the area and the "Resturants" will
> > automatically get added to the search
>
> > But I am facing problems."setQueryAddition("Resturants");" is not
> > adding the Restaurants word to the queries when used with
> > "google.search.LocalSearch()"
> > Althouygh its working fine when used with google.search.WebSearch()
>
> > The code is available here
> >http://rafb.net/p/cqlBRR79.html
>
> > 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
-~----------~----~----~----~------~----~------~--~---