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

//设置默认选中第一项
$("#id option:first").prop("selected", 'selected');

猜你喜欢

转载自blog.csdn.net/qq_25615395/article/details/80075882