jquery获取select选项的文字

直接撸:

 $('select[name=maxnum]').find("option:selected").text();

 

posted @ 2020-05-24 21:44  山上小和尚  阅读(637)  评论(0编辑  收藏  举报