jQuery默认select选择第一个元素

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

posted @ 2019-06-11 15:20  寒冰射手(电脑)  阅读(384)  评论(0编辑  收藏  举报