下拉菜单转跳

javascript

2008-05-28 15:07

打开新页
<form name="form1" method="post" action="">
<select name="select" id="select"   onChange="javascript:window.open(this.value, '_blank');">
<option >更多</option>
    <option value=">
    <option value=">
     <option value=">
</select>
</form>


本页跳转
<form name="form1" method="post" action="">
<select name="select" id="select"   onChange="location.href=this.value;">
<option >更多</option>
    <option value=">
    <option value=">
     <option value=">
</select>
</form>