Hi,
I just create a new google custom search engine into my website homepage. The basic google code is as follows:
My question is, I want to create a text link with the following tracking URL with "Good Food" as search query in my home page:
How do I make the text link when each time people click the link "Good Food" at my home page, and it will direct to my search result page "search.php" with google search result displayed on page WITHOUT the need to click submit button again?
Is it possible to do it in google custom search engine? :unsure: Am I make sense?
I just create a new google custom search engine into my website homepage. The basic google code is as follows:
HTML:
<form action="http://www.mysite.com/search.php" id="cse-search-box">
<div align="center">
<input type="hidden" name="cx" value="partner-pub-xxxx" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
HTML:
<a href="http://www.mysite.com/search.php?q=good food">Good Food</a>
Is it possible to do it in google custom search engine? :unsure: Am I make sense?