| Thread Closed |
Multiple Search Options - Radio Buttons Instead Of Drop Down List |
Share Thread | Thread Tools |
| Mar26-07, 09:49 PM | #1 |
|
|
Multiple Search Options - Radio Buttons Instead Of Drop Down List
The tutorial on how to make a search form with multiple search options was excellent!
http://www.mediacollege.com/internet...ti-search.html However, is it possible to use radio buttons instead of a drop-down list?Can someone be kind enough to show me the code for it? Million thanks. |
| Mar26-07, 10:58 PM | #2 |
|
Recognitions:
|
You can do for example:
Code:
<html>
<body>
<script language="JavaScript">eng = 'http://www.google.com/search?q=';</script>
For:
<input type="text" id="searchterms">
<input type="button" value="Search" onload="" onclick="window.location = eng + escape(document.getElementById('searchterms').value); return false;">
<br />Search:
<input type="radio" onclick="eng = this.value;" checked name="sengines" value="http://www.google.com/search?q=" />Google
<input type="radio" onclick="eng = this.value;" name="sengines" value="http://www.altavista.com/web/results?q=" />Alta Vista
<input type="radio" onclick="eng = this.value;" name="sengines" value="http://www.dogpile.com/info.dogpl/search/web/" />Dogpile
<input type="radio" onclick="eng = this.value;" name="sengines" value="http://search.yahoo.com/search?p=" />Yahoo!
</body>
</html>
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Multiple Search Options - Radio Buttons Instead Of Drop Down List
|
||||
| Thread | Forum | Replies | ||
| Multiple Radio Waves and Superposition | General Physics | 6 | ||
| a question for hams/radio heads: radio astronomy | Electrical Engineering | 6 | ||
| Why cant u make radio transmitter that transmit visible light instead of radio waves? | Introductory Physics Homework | 1 | ||
| Radio search for ET draws a blank | General Astronomy | 2 | ||