怎么设置菜单的默认值不能用select这个属性来设置。。必须用过JAVASCRIPT控制要怎么做啊selectname txtPa
怎么设置菜单的默认值
不能用 select 这个属性来设置。。必须用过JAVASCRIPT 控制要怎么做啊
<select name= "txtParentID " id= "txtParentID " >
<option value=0> 一级分类 </option>
<option value=1> 分类一 </option>
<option value=3分类一的儿子 </option>
<option value=4> 分类一的儿子的儿子 </option>
</select>
不用 select
[解决办法]
document.txtParentID.selectedIndex=4
