1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/onchange.html
2007-03-12 21:14:32 +01:00

22 lines
482 B
HTML

<html>
<script>
function go(url)
{
if (url != "") {
document.location.href=url;
}
}
</script>
<body>
<form name="a">
<select name="s" onchange="go(document.a.s.value);">
<option value="">-----------</option>
<option value="http://www.google.com/">Google</option>
<option value="http://freshmeat.net/">Freshmeat</option>
<option value="http://www.elinks.cz/">ELinks homepage</option>
<option value="http://bugzilla.elinks.cz/">Bugzilla</option>
</select>
</form>
</body>
</html>