var selectA1 = $("select[name=A1]"); //从A1下拉框中 搜索值
        $(selectA1).children("option").each(function () {
            //console.log(this.index);
            //console.log($(this).text());//每一个option
            if ($(this).text() === A1) {
                $("select[name=A1]").find('option:eq('+this.index+')').attr('selected', true);
            }
        });

使用框架遇到的坑

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2022-01-05
  • 2021-12-02
  • 2021-12-22
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案