<script>
function sel(){
var se =document.getElementById("positionTypeId");
var option=se.getElementsByTagName("option");
var str = "" ;
for(var i=0;i<option.length;++i){
if(option[i].selected){
document.getElementById("positionTypeName").value = option[i].text;
}
}
}
</script>
<select id="positionTypeId" onChange="sel();">
<option value="">--请选择--</option>
</select>
<input type="hidden" id="positionTypeName"/>
function sel(){
var se =document.getElementById("positionTypeId");
var option=se.getElementsByTagName("option");
var str = "" ;
for(var i=0;i<option.length;++i){
if(option[i].selected){
document.getElementById("positionTypeName").value = option[i].text;
}
}
}
</script>
<select id="positionTypeId" onChange="sel();">
<option value="">--请选择--</option>
</select>
<input type="hidden" id="positionTypeName"/>