SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Threaded View
-
Nov 7, 2000, 19:36 #1
- Join Date
- Feb 2000
- Location
- Madawaska, ME, USA
- Posts
- 21
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I have a form that has a SELECT object. I would like to go to a URL dependent on the choice the user makes.
Something like this:
<select size="1" name="D1" onchange="window.location='http://localhost/test.htm?Choice=this.value'">
<option value="red">red</option>
<option value="blue">blue</option>
</select>
What I would like to see is "http://localhost/test.htm?Choice=blue" sent to the browser.
My syntax is wrong, or something. Can someone help me?
Bookmarks