2017年2月22日

jQuery左右选择框

摘要: 引入jQuery即可 阅读全文

posted @ 2017-02-22 17:20 含蓄的龅牙妹 阅读(783) 评论(0) 推荐(0)

设置select选中某个option

摘要: <select class="selector"></select> 1、设置value为pxx的项选中 $(".selector").val("pxx"); 2、设置text为pxx的项选中 $(".selector").find("option[text='pxx']").attr("selec 阅读全文

posted @ 2017-02-22 15:50 含蓄的龅牙妹 阅读(8452) 评论(0) 推荐(0)

导航