select 取选中的值和文本

var lx = $("#keyIllness option:selected").text();
var lxType = $("#keyIllness option:selected").val();

select 取选中的值和文本

posted @ 2021-12-09 21:24  一切安好_All  阅读(99)  评论(0)    收藏  举报