jQuery设置下拉框select 默认选中第一个option

$("#id option:first").prop("selected", 'selected'); 

posted @ 2017-03-28 15:11  星畔  阅读(24733)  评论(0编辑  收藏  举报