<select id="marriage" name="marriage">
<option>--请选择--</option>
<foreach name="list" item="vo">
<option value="<{$vo.class_id}>" selected="<{$vo.class_id}>" >
<{$vo.class_name}></option>
</foreach>
</select>
08-29
5857
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
<select id="marriage" name="marriage">
<option>--请选择--</option>
<foreach name="list" item="vo">
<option value="<{$vo.class_id}>" selected="<{$vo.class_id}>" >
<{$vo.class_name}></option>
</foreach>
</select>