$("#province option").each(function(){
if($(this).text() === citys[0]){
$(this).attr('selected', 'selected');
}
});
$("#province option:contains('广东')").attr('selected', true);
转载于:https://my.oschina.net/hehongbo/blog/1541637