//id=customeridcard 标签添加监听改变事件
    (function ($) {
        const o = $.fn.val;
        $.fn.val = function () {
            const r = o.apply(this, arguments);
            if (this.is("#customeridcard") && arguments.length > 0) {
                this.trigger("change");
            }
            return r;
        }
    })(jQuery);

  

 $("#customeridcard").change(function () {
            Method();  //执行方法
        })

  

相关文章:

  • 2021-12-30
  • 2021-08-19
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-06-11
  • 2021-12-29
相关资源
相似解决方案