[thelist] JS for dropdown links?
Shashank Tripathi
sub at shanx.com
Fri Jul 5 04:12:01 CDT 2002
Hey Nick,
Try this, replace the links with something. Notice that you don't need
"a href" tags inside a dropdown box:
<html>
<body>
<form method="post" action="" onSubmit="return false;">
<select onChange="location.href=this.value;">
<option VALUE="">Select a link..</option>
<option VALUE="/link1">Test link one</option>
<option VALUE="/link2">Test link two</option>
<option VALUE="/link3">Test link three</option>
</select>
</form>
</body>
</html>
Cheers
Shanx
More information about the thelist
mailing list