下拉列表怎样去掉disabled
selectonclick:function(value){//类型选择
alert(value);
if(value!=3){
boolean1.enablement ="disabled";
boolean2.enablement ="disabled";
boolean1.disabled=true;
boolean2.disabled=true;
}else{
boolean1.enablement="enabled";
boolean2.enablement="enabled";
boolean1.disabled=false;
boolean2.disabled=false;
}
}
<select name="type" id="type" onchange="selectonclick(this.value)">
<option></option>
<option value="0" >数字</option>
<option value="1" >文本</option>
<option value="2" >日期</option>
<option value="3" >布尔型</option>
</select>