searchControl.execute( )

0 views
Skip to first unread message

sgo...@gmail.com

unread,
Jan 28, 2008, 11:51:18 AM1/28/08
to Google AJAX API
I am trying to add the google ajax api dearch engine to my web site:

www.dasfoosmaster.com

I'm not a real program and I know little bit about about javascript
but I know nothing about Ajax/API. So please bare with me. I took the
basic code from the Developer's Guide page. However the
searchControl.execute( ) has an initial setting for example purposes,
how do I change it to where it takes the value that is entered in the
search engine input field?

thanks

jgeerdes [AJAX APIs "Guru"]

unread,
Jan 28, 2008, 4:12:03 PM1/28/08
to Google AJAX API
I'm not seeing the application at the link you provided, but what you
might want to do is switch from using a plain searcher to using
GSearchControl. It will provide you with a ready-made solution,
including integrated search box, etc. Just scroll down a little in
the developer guide, and you'll find it explained and demonstrated.

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

For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com
Reply all
Reply to author
Forward
0 new messages