?
Solved

Google Search - how to create a script that enters my search terms to my search engine.

Posted on 2009-06-29
5
Medium Priority
?
264 Views
Last Modified: 2013-12-09
I want to know how to do the follow.

you click on a predertmined word "glass" (for example). Upon clicking on this word it then imputs set term in you my google search box on my website.

my website is www.epictorrents.com - i have a fully configured search engine, i was to help people by creating a sort of cloudbubble of popular term - that they can in turn click on these works and it automatically this term in to my search engine.

Thank you for reading this question. applogise if i seemed to have repeated my self
0
Comment
Question by:ilike-centre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:dlastlee
ID: 24736279
<a href="#" onClick="document.getElementsByName('q')[0].value += this.innerHTML + ' '; return false;">Keyword</a>
0
 

Author Comment

by:ilike-centre
ID: 24738979
WOW! thank you so much!

On final thing how do you write the code so you click and it adds then enters the info??

either way! wOW! you have nailed it. i am over over joyed thank you.
0
 
LVL 3

Expert Comment

by:dlastlee
ID: 24739590
Sorry, I'm not sure what you are asking. Can you clarify?
0
 

Author Comment

by:ilike-centre
ID: 24739985
yes, as you have created the ode that enter the word "glass" in the search engine, how do you take that the next step and have it do the function of hit enter to get the results.

because atm it puts there word in there perefectly, would be superb if it would do the complete task by getting the return result - just a thought.
thank you again.
0
 
LVL 3

Accepted Solution

by:
dlastlee earned 2000 total points
ID: 24740395
Oh, you can just skip the above step then and just redirect to the term:
<a href="#" onClick="window.location = 'http://www.epictorrents.com/?cx=partner-pub-2008479706652190%3Amp3mmi-92mf&cof=FORID%3A11&ie=ISO-8859-1&sa=Search&q=' + this.innerHTML">axxo</a>
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question