您的位置:首页 > Web前端 > JQuery

jquery select selected

2016-10-11 18:33 211 查看
$("#province option[text='${region.name}']").attr("selected", true);

$("#province option[value='${region.id}']").attr("selected", true);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: