<select class="chosen-select input-medium" name="userType">
<c:choose>
<c:when test="${empty userType }">
<option value="" selected>---用户类型---</option>
<option value="DSYS000010001" >学员</option>
<option value="DSYS000010002" >讲师</option>
<option value="DSYS000010003" >系统管理员</option>
</c:when>
<c:when test="${userType=='DSYS000010001'}">
<option value="" >---用户类型---</option>
<option value="DSYS000010001" selected>学员</option>
<option value="DSYS000010002" >讲师</option>
<option value="DSYS000010003" >系统管理员</option>
</c:when>
<c:when test="${userType=='DSYS000010002'}">
<option value="" >---用户类型---</option>
<option value="DSYS000010001" >学员</option>
<option value="DSYS000010002" selected>讲师</option>
<option value="DSYS000010003" >系统管理员</option>
</c:when>
<c:when test="${userType=='DSYS000010003' }">
<option value="" >---用户类型---</option>
<option value="DSYS000010001" >学员</option>
<option value="DSYS000010002" >讲师</option>
<option value="DSYS000010003" selected>系统管理员</option>
</c:when>
<c:otherwise>
<option value="" >---用户类型---</option>
<option value="DSYS000010001" >学员</option>
<option value="DSYS000010002" >讲师</option>
<option value="DSYS000010003" >系统管理员</option>
</c:otherwise>
</c:choose>
</select>
下拉框选择
最新推荐文章于 2019-07-29 19:21:02 发布