//循环获取某个class下的多个select的选中值
function eachSelect(cla){
var val = "";
$("."+cla).each(function(){
$(this).find("select").each(function(){
var xm = $(this).children("option:selected").html();
var rybh = $(this).children("option:selected").val();
val += rybh+"_"+xm+"#";
});
});
return val;
}

相关文章:

  • 2022-12-23
  • 2021-12-06
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案