重写覆盖一下contains方法即可:

jQuery.expr[':'].Contains = function(a, i, m) {
  return jQuery(a).text().toUpperCase()
      .indexOf(m[3].toUpperCase()) >= 0;
};
 
jQuery.expr[':'].contains = function(a, i, m) {
  return jQuery(a).text().toUpperCase()
      .indexOf(m[3].toUpperCase()) >= 0;
};

相关文章:

  • 2021-12-10
  • 2021-06-21
  • 2021-09-14
  • 2021-06-26
  • 2021-10-29
  • 2022-01-25
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2022-01-03
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案