jquery.fn.extend与jquery.extend 有什么区别呢?

jquery.fn =jQuery.fn = jQuery.prototype ={}

所以

jquery.fn.extend 是给jquery对象提供方法。

后者是给jquery类本身提供方法。

相关文章:

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