In article <xfJad.718118$gE.53400@pd7tw3no>,
ti******@shaw.ca enlightened us
with...
Sirs
How can i use javascript to redirect the url in the drop list box once the
event onchnage is triggered?
<select onChange="goThere(this.options[this.selectedIndex].value)" name="s1">
<option value="http://someurl.com">place1</option>
<option value="http://someurl2.com">place2</option>
<option value="http://someur3.com">place3</option>
</select>
<script type="text/javascript">
function goThere(loc)
{
window.location.href=loc;
}
</script>
Oh, and I'm a 'miss', thank you. ;)
--
--
~kaeli~
The Bible contains six admonishments to homosexuals and
three hundred sixty-two admonishments to heterosexuals.
That doesn't mean that God doesn't love heterosexuals. It's
just that they need more supervision.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace