HTML for Simple Drop down box

0
<script language="JavaScript">

function goto(form) { var index=form.select.selectedIndex

if (form.select.options[index].value != "0") {

location=form.select.options[index].value;}}

//-->

</script>

<form name="form1">

<select onchange="location=this.options[this.selectedIndex].value;"
style="width:100%">

<option value="" />Select

<option value="http://gmail.com" />Gmail

<option value="http://yahoo.com" />Yahoo

</select>

</form>


Always do your best. What you plant now, you will harvest later. - Og Mandino.


    HTML for Simple Drop down box