<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<script type="text/javascript">
$(function(){
alert('${pec.unitId}');
var select = document.getElementsByTagName("select")[0].value = '${pec.unitId}';
})
</script>
注意:单引号
下拉列表默认选中--- jQuery
最新推荐文章于 2023-10-11 15:59:45 发布