Click to See Complete Forum and Search --> : Auto complete - how do you use other web sites search engine?


philipgreenwood
December 14th, 2003, 07:10 AM
Right, this has been bugging me for ages and my code (javascript) keeps chucking up error messages.

I would like to have a script that takes my user's search query/keyword and then the users keyword is posted to another web site's search engine cgi program.

For example, my user types "javascript book" into a search engine on my web site which leads to a new window opening containing the results page from the target web site

i.e. as if they had typed "javascript book" into a search engine on the target web site.

Please help if you know how.

khp
December 14th, 2003, 08:23 AM
Simple google example

<form action="http://www.google.com/search">
<input name="q"/>
</form>

philipgreenwood
December 15th, 2003, 05:42 AM
Tak fer code (my dansk is a bit lort!)

Do you think that webmasters would get annoyed if I sent my users the results of their search engine results (even though it is to sell THEIR products)?

khp
December 15th, 2003, 06:44 AM
Originally posted by philipgreenwood
Tak fer code (my dansk is a bit lort!)


LOL, your danish is understandable but not quite right :)

Originally posted by philipgreenwood
Do you think that webmasters would get annoyed if I sent my users the results of their search engine results (even though it is to sell THEIR products)?

I'am not sure what google's policy on this is. I see lots of other sites doing this, like www.imdb.com, but I have no idear what kind of agreement they may or may not have with google.