How to add invisible tags to google search -


i have drop down menu , google search box next embedded on web page. , want such thing: when user searches on google search, selected keyword drop down menu should applied automatically

this code have right now

<form method=get action="http://www.google.com/search">  <input type=hidden name=ie value=utf-8> <input type=hidden name=oe value=utf-8> <table bgcolor="#ffffff"><tr><td> <select name = "type">     <option value=""> choose type </option>     <option value="bitmap">bitmap</option>     <option value="vector">vector</option>  </select> <input type=text name=q size=25 maxlength=255 value="">  <input type=submit name=btng value="search">  </td></tr></table> 

with javascript. i'd recommend learning javascript , using library such jquery simplify javascript coding.

in particular case, you'd need capture form's submit event , alter value of q input field , let event go through.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -