摘要: 比如<select class="selector"></select> 1、设置value为pxx的项选中 $(".selector").val("pxx"); 2、设置text为pxx的项选中 $(".selector").find("option[text='pxx']").attr("sel 阅读全文
posted @ 2016-06-22 12:25 吴极限 阅读(914) 评论(0) 推荐(0)