日期:2014-05-18  浏览次数:20846 次

html中的select控件问题
我想实现select   控件中显示的值与实际的值分开.  

我用以下代码设置vaule   与   显示的值.   但实际post之后   取出来的id值总是   aaa   或   bbb,   而不是1或2.   请问为什么会这样?  
<select   name= "id "   size= "1 "   >
                <option   vaule= "1 "   selected= "selected "> aaa </option>
                <option   value= "2 "> bbb </option>
</select>


------解决方案--------------------
<option value= "1 " selected= "selected "> aaa </option>