Advertisement
Guest User

Multi-Search

a guest
Mar 9th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. function dosearch() {
  3. var sf=document.searchform;
  4. var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value);
  5. window.open(submitto);
  6. return false;
  7. }
  8. </script>
  9.  
  10. ------------
  11.  
  12. <form name="searchform" onSubmit="return dosearch();">
  13.             <input id="search" type="text" name="searchterms" placeholder="Placement ID">
  14.             <input id="submit" type="submit" name="SearchSubmit" value="Go!">
  15.                 <select id="option" name="sengines">
  16.                     <option value="SEARCH_QUERY_URL">Choice 1</option>
  17.                     <option value="SEARCH_QUERY_URL">Choice 2</option>
  18.                     <option value="SEARCH_QUERY_URL">Choice 3</option>
  19.                 </select>
  20.         </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement