Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function dosearch() {
- var sf=document.searchform;
- var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value);
- window.open(submitto);
- return false;
- }
- </script>
- ------------
- <form name="searchform" onSubmit="return dosearch();">
- <input id="search" type="text" name="searchterms" placeholder="Placement ID">
- <input id="submit" type="submit" name="SearchSubmit" value="Go!">
- <select id="option" name="sengines">
- <option value="SEARCH_QUERY_URL">Choice 1</option>
- <option value="SEARCH_QUERY_URL">Choice 2</option>
- <option value="SEARCH_QUERY_URL">Choice 3</option>
- </select>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement